uniq-by for filters> uniq-by {flags} ...rest
--count, -c: Return a table containing the distinct input values together with their counts--repeated, -d: Return the input values that occur more than once--ignore-case, -i: Ignore differences in case when comparing input values--unique, -u: Return the input values that occur once only...rest: the column(s) to filter by| input | output | 
|---|---|
| list<any> | list<any> | 
| table | table | 
Get rows from table filtered by column uniqueness
> [[fruitcount]; [apple9] [apple2] [pear3] [orange7]] |uniq-byfruit
╭───┬────────┬───────╮
│# │ fruit  │ count │
├───┼────────┼───────┤
│0│apple│9│
│1│pear│3│
│2│orange│7│
╰───┴────────┴───────╯
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/uniq-by.html