mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
Add space at duplicates.nu
This commit is contained in:
parent
9b5d54947d
commit
24adacb73e
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# duplicates returns the rows that correspond to duplicates of the given column.
|
||||
def duplicates [
|
||||
column: string # Column to look duplicates at
|
||||
--count(-c) # set it to display the number of times the value is repeated.
|
||||
column: string # Column to look duplicates at
|
||||
--count(-c) # set it to display the number of times the value is repeated.
|
||||
] {
|
||||
group-by $column |
|
||||
pivot |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue