drop for filters> drop {flags} (rows)
rows: The number of items to remove| input | output | 
|---|---|
| list<any> | list<any> | 
| table | table | 
Remove the last item of a list
> [0,1,2,3] |drop
╭───┬───╮
│0│0│
│1│1│
│2│2│
╰───┴───╯
Remove zero item of a list
> [0,1,2,3] |drop0
╭───┬───╮
│0│0│
│1│1│
│2│2│
│3│3│
╰───┴───╯
Remove the last two items of a list
> [0,1,2,3] |drop2
╭───┬───╮
│0│0│
│1│1│
╰───┴───╯
Remove the last row in a table
> [[a, b]; [1, 2] [3, 4]] |drop1
╭───┬───┬───╮
│# │ a │ b │
├───┼───┼───┤
│0│1│2│
╰───┴───┴───╯
| name | type | usage | 
|---|---|---|
| drop column | Builtin | Remove N columns at the right-hand end of the input table. To remove columns by name, use reject. | 
| drop nth | Builtin | Drop the selected rows. | 
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/drop.html