Skip to content

Commit

Permalink
fix: Updates error message in csv parser to recommend schema_override…
Browse files Browse the repository at this point in the history
…s instead of deprecated dtypes argument (#19416)
  • Loading branch information
dvillaveces authored Oct 24, 2024
1 parent 3fe25c5 commit f01fb7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-io/src/csv/read/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ pub(super) fn parse_lines(
\n\
You might want to try:\n\
- increasing `infer_schema_length` (e.g. `infer_schema_length=10000`),\n\
- specifying correct dtype with the `dtypes` argument\n\
- specifying correct dtype with the `schema_overrides` argument\n\
- setting `ignore_errors` to `True`,\n\
- adding `{}` to the `null_values` list.\n\n\
Original error: ```{}```",
Expand Down

0 comments on commit f01fb7b

Please sign in to comment.