2022-02-20 02:13:33 +01:00
|
|
|
---
|
|
|
|
title: dfr drop-duplicates
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-20 02:13:33 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
Drops duplicate values in dataframe
|
|
|
|
|
|
|
|
## Signature
|
|
|
|
|
|
|
|
```> dfr drop-duplicates (subset) --maintain```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
- `subset`: subset of columns to drop duplicates
|
|
|
|
- `--maintain`: maintain order
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
drop duplicates
|
|
|
|
```shell
|
|
|
|
> [[a b]; [1 2] [3 4] [1 2]] | dfr to-df | dfr drop-duplicates
|
|
|
|
```
|