You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting to pandas, convert nested types (e.g. list) to tuples. Columns with lists are difficult to query. Here are a few unsuccessful attempts:
Wes McKinney / @wesm:
Hm, I don't have a particularly strong opinion about our use of lists. Do we have type inference for tuples on the round trip? @xhochy@pitrou what do you think about this?
Antoine Pitrou / @pitrou:
Well, we could add proper inference for tuples. ListArray is the only applicable type AFAICT (StructArray cannot apply since the field names are not known).
When converting to pandas, convert nested types (e.g. list) to tuples. Columns with lists are difficult to query. Here are a few unsuccessful attempts:
I think this one fails because it tries to broadcast the comparison.
I think this fails due to a similar reason, but the broadcasting is happening at a different place.
Unfortunately this clever hack fails as well!
Finally, what succeeds is the following (probably because of the immutability of tuple):
Environment: Fedora 29, pyarrow installed with conda
Reporter: Suvayu Ali / @suvayu
Related issues:
Note: This issue was originally created as ARROW-3806. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: