1
Fork 0
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:
Agustin Canalis 2021-02-27 22:29:48 -03:00 committed by GitHub
parent 9b5d54947d
commit 24adacb73e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 |