Skip to content

Commit 91f5bfc

Browse files
Fixed the documentation for pandas.DataFrame.set_index inplace parameter (#37555)
* Fixed the documentation for pandas.DataFrame.set_index inplace parameter Fixed the documentation for pandas.DataFrame.set_index inplace parameter. * "set to" was removed to make it work fine. @jbrockmendel For your suggestion. Also Thanks to @pep8speaks @arw2019
1 parent df6f00e commit 91f5bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4570,7 +4570,7 @@ def set_index(
45704570
append : bool, default False
45714571
Whether to append columns to existing index.
45724572
inplace : bool, default False
4573-
Modify the DataFrame in place (do not create a new object).
4573+
If True, modifies the DataFrame in place (do not create a new object).
45744574
verify_integrity : bool, default False
45754575
Check the new index for duplicates. Otherwise defer the check until
45764576
necessary. Setting to False will improve the performance of this

0 commit comments

Comments
 (0)