diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 8ee65949e6bc1..988183835b7f0 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -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