Skip to content

Commit

Permalink
fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Jan 6, 2022
1 parent 0f40453 commit 1fb372c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/cudf/cudf/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ def reindex(self, index=None, copy=True):
13 d
dtype: object
>>> series.reset_index()
index 0
index 0
0 10 a
1 11 b
2 12 c
Expand All @@ -879,12 +879,12 @@ def reindex(self, index=None, copy=True):
>>> s2
a b
bar one 0
two 1
two 1
baz one 2
two 3
two 3
Name: foo, dtype: int64
>>> s2.reset_index(level='a')
a foo
a foo
b
one bar 0
two bar 1
Expand Down

0 comments on commit 1fb372c

Please sign in to comment.