You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/30 19:45:00 UTC

[jira] [Updated] (ARROW-3656) [C++] Allow whitespace in numeric CSV fields

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

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

> [C++] Allow whitespace in numeric CSV fields
> --------------------------------------------
>
>                 Key: ARROW-3656
>                 URL: https://issues.apache.org/jira/browse/ARROW-3656
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 0.11.0
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>
> Pandas allows whitespace before and after numbers in CSV files, but Arrow doesn't:
> {code:python}
> >>> s = b"a,b,c\n12 , 34 , 56\n"
> >>> pd.read_csv(io.BytesIO(s))
>     a   b   c
> 0  12  34  56
> >>> csv.read_csv(io.BytesIO(s)).to_pandas()
>         a        b       c
> 0  b'12 '  b' 34 '  b' 56'
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)