[ 
https://issues.apache.org/jira/browse/ARROW-6934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16954593#comment-16954593
 ] 

Antoine Pitrou commented on ARROW-6934:
---------------------------------------

Well, there's nothing special about utf8 columns except that they are marked as 
utf8. Under the hood it's binary data just as in a binary column.

So you should be fine using a binary column.

> [Python] Choose string column encoding in csv reader
> ----------------------------------------------------
>
>                 Key: ARROW-6934
>                 URL: https://issues.apache.org/jira/browse/ARROW-6934
>             Project: Apache Arrow
>          Issue Type: Wish
>          Components: Python
>            Reporter: Sascha Hofmann
>            Priority: Major
>
> I was wondering whether there is a possibility to provide a different 
> encoding for string columns in the parse option of the csv reader in pyarrow. 
> I saw that there is a check whether or not a column is utf8 encoded. The 
> default seems to be that if that turns out to be false the column is 
> interpreted as binary.
> Is there any way to have a fallback option, meaning if the check_utf8 is 
> false then maybe try latin-1 before turning to binary?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to