You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Bin Sun (Jira)" <ji...@apache.org> on 2021/12/15 15:30:00 UTC

[jira] [Created] (ARROW-15116) Can I use 'invalid_row_handler' param in python implementation?

Bin Sun created ARROW-15116:
-------------------------------

             Summary: Can I use 'invalid_row_handler' param in python implementation?
                 Key: ARROW-15116
                 URL: https://issues.apache.org/jira/browse/ARROW-15116
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
    Affects Versions: 6.0.1
            Reporter: Bin Sun


I deal with 10G+ csv files (tab separated) every day. However, rows are of 21 or 22 fields uncertainly.

If using pyarrow.csv.read_csv(),  error occurs.  I see ParseOptions(invalid_row_handler=...) in C++ API, but not in python API.

Is there a due time for this api in python? Thanks in advance!

Currently, I have to use pandas.read_csv(on_bad_lines=...) , which is extremely slow for 10G+ files...   :(



--
This message was sent by Atlassian Jira
(v8.20.1#820001)