Support for Keyword Arguments in from_csv Function with use_pyarrow=True for Enhanced CSV Parsing Flexibility #16137
Labels
A-io-csv
Area: reading/writing CSV files
enhancement
New feature or an improvement of an existing feature
Description
Summary
The current implementation of
from_csv
function does not allow kwargs. This feature request proposes enabling the use of kwargs in the context ofuse_pyarrow=True
to enhance functionality and user flexibility, particularly for handling non-standard CSV files with custom delimiters or escape characters.Motivation
In practice, CSV files do not always conform to a strict standard; many third-party CSV files use non-standard delimiters or escape characters. While using the polar library, I encountered a limitation where I could not adjust the CSV delimiter or escape character in the from_csv function when using PyArrow for parsing. This restriction forced me to use pandas as reader and transfer to polar which cause memory bump.
I would gladly make the PR if this is accepted
The text was updated successfully, but these errors were encountered: