pandas.Series.duplicated¶
Indicate duplicate Series values.
Duplicated values are indicated as True
values in the resulting
Series. Either all duplicates, all except the first or all except the
last occurrence of duplicates can be indicated.
- param keep
- {‘first’, ‘last’, False}, default ‘first’
- ‘first’Mark duplicates as
True
except for the first occurrence.
- ‘first’Mark duplicates as
- ‘last’Mark duplicates as
True
except for the last occurrence.
- ‘last’Mark duplicates as
False
: Mark all duplicates asTrue
.
- return
Series Series indicating whether each value has occurred in the preceding values.
Warning
This feature is currently unsupported by Intel Scalable Dataframe Compiler