Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandas ArrowInvalid error message should include column name #2072

Closed
louispotok opened this issue May 21, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@louispotok
Copy link
Contributor

commented May 21, 2018

I'm trying to write a pandas dataframe to feather using its to_feather method. When a single column's conversion fails (pandas_compat.convert_column), the error message does not include the name of the column that failed. E.g. the message is something like:
ArrowInvalid: Error converting from Python objects to String/UTF8: Got Python object of type int but can only handle these types: str, bytes.

I think it would make debugging easier to add the column name to the error message. Thoughts?

@wesm

This comment has been minimized.

Copy link
Member

commented May 22, 2018

This sounds like a nice improvement. Could you open an issue on JIRA (our feature/bug tracker)?

@louispotok

This comment has been minimized.

Copy link
Contributor Author

commented May 22, 2018

Sure https://issues.apache.org/jira/browse/ARROW-2626
Should I close this issue as well?

@wesm

This comment has been minimized.

Copy link
Member

commented May 22, 2018

Perfect, thanks. Yep, closing this

@wesm wesm closed this May 22, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.