Closed Jang-Ji-Yeon closed 1 week ago
the encoding
parameter doesn't work as the document described
https://github.com/pola-rs/polars/blob/9d5d7d0da9104dd41801b547b917e39c8f7f93aa/py-polars/polars/io/csv/functions.py#L786-L790
It can only be 'utf8' or 'utf8-lossy' https://github.com/pola-rs/polars/blob/9d5d7d0da9104dd41801b547b917e39c8f7f93aa/py-polars/polars/io/csv/functions.py#L968 https://github.com/pola-rs/polars/blob/9d5d7d0da9104dd41801b547b917e39c8f7f93aa/crates/polars-io/src/csv/read/options.rs#L325-L331
This is expected and documented. Polars' native reader only support utf8.
Checks
Reproducible example
Log output
No response
Issue description
The parameter does not work if the encoding value of the polar.read_csv_batched function is not utf8, utf8-lossy
Expected behavior
I need a way to do euc-kr encoding
Installed versions