Repository navigation
Document from csv/from tsv reading every field as a string - #2301
Merged
Merged
Conversation
Follows nushell/nushell's change that makes type inference opt-in via `--infer` and deprecates `--no-infer` (nushell/nushell#13514). - working_with_strings: rewrite the "Options for from csv and from tsv" intro around the new default, show `--infer` instead of `--no-infer`, point at `into int` / `into float` / `detect type` for single columns, tie the `--trim` note to `--infer`, and update the `--flexible` output. - external_completers: drop `--no-infer` from the fish completer snippets and the bullet explaining it. - matrices: `from csv` no longer needs `--no-infer` for string cells.
Contributor
|
Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the change in nushell/nushell#19651 (merged, fixes nushell/nushell#13514):
from csvandfrom tsvnow read every field as a string,--inferturns numeric fields into ints and floats, and--no-inferis deprecated.book/working_with_strings.md: rewrote the intro of "Options forfrom csvandfrom tsv" around the string default, show--inferinstead of--no-infer, point atinto int/into float/detect typefor single columns, tie the--trimnote to--infer, and update the--flexibleexample output.cookbook/external_completers.md: dropped--no-inferfrom the fish completer snippets and the bullet explaining it; it is the default now and would warn on every completion.lang-guide/chapters/matrices.md:from csvno longer needs--no-inferfor string cells.Every
# =>output was produced by a build of the merged change.commands/docs/from_csv.mdandfrom_tsv.mdare generated fromhelpat release time, so they are not edited here.This should land with the release that ships nushell/nushell#19651 (0.118), since the site tracks released behaviour.