Louis Potok created ARROW-2626: ---------------------------------- Summary: 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
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)