mirror of
https://github.com/nushell/nushell
synced 2024-12-28 22:13:10 +00:00
24 lines
374 B
Markdown
24 lines
374 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
|
|
```
|
|
|