[ 
https://issues.apache.org/jira/browse/ARROW-15116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-15116:
-----------------------------------
    Labels: pull-request-available  (was: )

> [Python] Expose invalid_row_handler for CSV reader
> --------------------------------------------------
>
>                 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
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to