Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
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:
ArrowInvalid: Error converting from Python objects to String/UTF8: Got Python object of type int but can only handle these types: str, bytes.
Throw:
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")
Originally opened on Github Issues: https://github.com/apache/arrow/issues/2072
Attachments
Issue Links
- links to