Skip to content

Commit 76f5d2d

Browse files
mjmdavisjreback
authored andcommitted
clarified the documentation for DF.drop_duplicates (#25056)
1 parent a0623af commit 76f5d2d

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
@@ -4625,7 +4625,8 @@ def dropna(self, axis=0, how='any', thresh=None, subset=None,
46254625
def drop_duplicates(self, subset=None, keep='first', inplace=False):
46264626
"""
46274627
Return DataFrame with duplicate rows removed, optionally only
4628-
considering certain columns.
4628+
considering certain columns. Indexes, including time indexes
4629+
are ignored.
46294630
46304631
Parameters
46314632
----------

0 commit comments

Comments
 (0)