You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/12/15 15:35:00 UTC
[jira] [Commented] (ARROW-15116) [Python] Expose invalid_row_handler for CSV reader
[ https://issues.apache.org/jira/browse/ARROW-15116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460041#comment-17460041 ]
Antoine Pitrou commented on ARROW-15116:
----------------------------------------
cc [~jorisvandenbossche]
> [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
> Priority: Major
>
> 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)