You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2023/01/18 10:40:00 UTC
[GitHub] [arrow] jorisvandenbossche commented on issue #33729: [Python] Support Python enums in pyarrow
jorisvandenbossche commented on issue #33729:
URL: https://github.com/apache/arrow/issues/33729#issuecomment-1386840722
In general we don't support converting "random" python objects that don't have a direct mapping to one of the arrow types (so some exceptions from the stdlib are Decimals and datetime objects).
If you want to convert such an array or pandas column to arrow, you can do the conversion yourself in advance (i.e. in your case extracting the name from each value, and converting to a Categorical).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org