Skip to content

Commit 3ae4066

Browse files
jseaboldwesm
authored andcommitted
DOC: Add line about resetting to default index
1 parent 8f28e2f commit 3ae4066

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/frame.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2472,7 +2472,8 @@ def reset_index(self, level=None, drop=False, inplace=False):
24722472
Only remove the given levels from the index. Removes all levels by
24732473
default
24742474
drop : boolean, default False
2475-
Do not try to insert index into dataframe columns
2475+
Do not try to insert index into dataframe columns. This resets
2476+
the index to the default integer index.
24762477
inplace : boolean, default False
24772478
Modify the DataFrame in place (do not create a new object)
24782479

0 commit comments

Comments
 (0)