Skip to content

DOC: Edited doc string of pandas/core/frame.duplicated(). Redefined take... #9203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2726,7 +2726,8 @@ def duplicated(self, subset=None, take_last=False):
Only consider certain columns for identifying duplicates, by
default use all of the columns
take_last : boolean, default False
Take the last observed row in a row. Defaults to the first row
For a set of distinct duplicate rows, flag all but the last row as duplicated.
Default is for all but the first row to be flagged
cols : kwargs only argument of subset [deprecated]

Returns
Expand Down