nushell/crates/nu-cmd-dataframe/src/dataframe
Stefan Holderbach 8cfa96b4c0
Construct Records only through checked helpers (#11386)
# Description

Constructing the internals of `Record` without checking the lengths is
bad. (also incompatible with changes to how we store records)

- Use `Record::from_raw_cols_vals` in dataframe code
- Use `record!` macro in dataframe test
- Use `record!` in `nu-color-config` tests
- Stop direct record construction in `nu-command`
- Refactor table construction in `from nuon`

# User-Facing Changes
None

# Tests + Formatting
No new tests, updated tests in equal fashion
2023-12-21 16:48:15 +01:00
..
eager Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
expressions Ensure that command usage starts uppercase and ends period (#11278) 2023-12-10 08:28:54 -06:00
lazy Ensure that command usage starts uppercase and ends period (#11278) 2023-12-10 08:28:54 -06:00
series Convert Shellerror::GenericError to named fields (#11230) 2023-12-07 00:40:03 +01:00
values Construct Records only through checked helpers (#11386) 2023-12-21 16:48:15 +01:00
mod.rs Add a stub dfr command (#10683) 2023-10-11 17:51:20 +02:00
README.md move dataframe commands to nu-cmd-dataframe (#9241) 2023-05-19 10:56:08 -07:00
stub.rs Add a stub dfr command (#10683) 2023-10-11 17:51:20 +02:00
test_dataframe.rs Fix a couple clippy warnings (#9936) 2023-08-07 06:23:11 +12:00
utils.rs Make FromValue take owned Values (#10900) 2023-10-31 19:47:00 +01:00

Dataframe

This dataframe directory holds all of the definitions of the dataframe data structures and commands.

There are three sections of commands:

For more details see the Nushell book section on dataframes