mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 10:53:57 +01:00
24 lines
373 B
Markdown
24 lines
373 B
Markdown
|
---
|
||
|
title: dfr drop-duplicates
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
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
|
||
|
```
|