Skip to content

Commit 1ff4851

Browse files
mjmdavisPingviinituutti
authored andcommitted
clarified the documentation for DF.drop_duplicates (pandas-dev#25056)
1 parent 5dea121 commit 1ff4851

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)