>
|
|
The AreUnique command returns a truefalseFAIL DataSeries that shows all unique values as true.
| (2) |
If the DataSeries is indexed by the result, a filtered DataSeries is returned that removes any duplicate values:
The results can be used to index a DataFrame and remove the rows that have duplicate values in a specific column.
>
|
|
| (4) |
| (5) |
The keep option allows for specification of which row to keep, either the first, last or none, when a duplicate is found:
>
|
|
| (6) |
>
|
|
| (7) |
If keep is set to none, all rows that have a duplicate value in a column are marked as false.
>
|
|