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
I find it surprising that pandas provides a different value to the interchange protocol for an Arrow dtype than Arrow itself would (side note, I am also surprised Arrow fails here)
I find it surprising that pandas provides a different value to the interchange protocol for an Arrow dtype than Arrow itself
Essentially the current implementation of the interchange protocol in pandas is based on numpy, so it converts (or tries to convert) whatever other type (our own nullable, or Arrow dtypes) to numpy. Which is the root cause of the various issues you opened, I think (#56805, #56777)
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
I find it surprising that pandas provides a different value to the interchange protocol for an Arrow dtype than Arrow itself would (side note, I am also surprised Arrow fails here)
cc @MarcoGorelli
Expected Behavior
Should match arrow
Installed Versions
main
The text was updated successfully, but these errors were encountered: