mirror of
https://github.com/nushell/nushell.git
synced 2024-11-23 00:43:33 +01:00
33a7bc405f
# Description This PR refactors `drop columns` and fixes issues #10902 and #6846. Tables with "holes" are now handled consistently, although still somewhat awkwardly. That is, the columns in the first row are used to determine which columns to drop, meaning that the columns displayed all the way to the right by `table` may not be the columns actually being dropped. For example, `[{a: 1}, {b: 2}] | drop column` will drop column `a` instead of `b`. Before, this would give a list of empty records. # User-Facing Changes `drop columns` can now take records as input. |
||
---|---|---|
.. | ||
commands | ||
format_conversions | ||
main.rs |