nushell/tests/fixtures/formats
Sam Hedin ae5f3c8210
WIP: 1486/first row as headers (#1530)
* headers plugin

* Remove plugin

* Add non-functioning headers command

* Add ability to extract headers from first row

* Refactor header extraction

* Rebuild indexmap with proper headers

* Rebuild result properly

* Compiling, probably wrapped too much?

* Refactoring

* Deal with case of empty header cell

* Deal with case of empty header cell

* Fix formatting

* Fix linting, attempt 2.

* Move whole_stream_command(Headers) to more appropriate section

* ... more linting

* Return Err(ShellError...) instead of panic, yield each row instead of entire table

* Insert Column[index] if no header info is found.

* Update error description

* Add initial test

* Add tests for headers command

* Lint test cases in headers

* Change ShellError for headers, Add sample_headers file to utils.rs

* Add empty sheet to test file

* Revert "Add empty sheet to test file"

This reverts commit a4bf38a31d.

* Show error message when given empty table
2020-03-29 15:05:57 +13:00
..
appveyor.yml Add yaml roundtrip test. Bump nu version 2019-07-18 05:51:53 +12:00
caco3_plastics.csv Introduced conversion to csv command. 2019-07-21 02:08:05 -05:00
caco3_plastics.tsv [from/to]tsv support. 2019-08-29 04:02:16 -05:00
cargo_sample.toml Columnpath support when passing fields for formatting. (#1472) 2020-03-10 01:55:03 -05:00
jonathan.xml Integration tests refactoring and visibility in them. 2019-07-16 05:33:41 -05:00
sample_data.ods Add the from-ods command (#1161) 2020-01-07 19:35:00 +13:00
sample_data.xlsx Add from_xlsx for importing excel files 2019-11-17 16:18:41 +13:00
sample_headers.xlsx WIP: 1486/first row as headers (#1530) 2020-03-29 15:05:57 +13:00
sample.bson Add Decimal to sample.bson 2019-08-31 19:15:48 +02:00
sample.db Add SQLite support 2019-08-30 20:54:45 -04:00
sample.ini Add end_plugin and sum 2019-07-27 06:40:00 +12:00
sample.url Add urlencode/urldecode 2019-09-19 16:25:29 +12:00
script_multiline.nu Add support for multiline script files (#1386) 2020-02-13 21:24:18 -08:00
script.nu Prototype shebang support (#1368) 2020-02-10 08:49:45 -08:00
sgml_description.json Add end_plugin and sum 2019-07-27 06:40:00 +12:00
utf16.ini Add support for utf16 files 2019-08-12 16:11:42 +12:00