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/05/22 15:34:00 UTC

[jira] [Updated] (ARROW-2626) pandas ArrowInvalid message should include failing column name

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

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

> pandas ArrowInvalid message should include failing column name
> --------------------------------------------------------------
>
>                 Key: ARROW-2626
>                 URL: https://issues.apache.org/jira/browse/ARROW-2626
>             Project: Apache Arrow
>          Issue Type: Improvement
>            Reporter: Louis Potok
>            Priority: Minor
>              Labels: pull-request-available
>
> When writing a pandas dataframe to feather using its to_feather method, sometimes a single column's conversion fails in pandas_compat.convert_column, which leads the whole method to fail. The error message should include the name of the column that failed for easier debugging.
>  
> Eg instead of:
>  
> {code:java}
> ArrowInvalid: Error converting from Python objects to String/UTF8: Got Python object of type int but can only handle these types: str, bytes.
>  
> {code}
> Throw:
> {code:java}
> ArrowInvalid: Error converting from Python objects to String/UTF8: Got Python object of type int but can only handle these types: str, bytes. (column "user_id")
> {code}
>  
> Originally opened on Github Issues: https://github.com/apache/arrow/issues/2072



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