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

Add xfail test for df.astype(pa.DictionaryType) #2188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NickCrews
Copy link
Contributor

Demonstration of
#2187

@NickCrews NickCrews changed the title Dictionary_casting Add xfail test for df.astype(pa.DictionaryType) Aug 29, 2022
@maartenbreddels
Copy link
Member

So, it works for some cases, because our dtype wrapper compared true to str when it's an encoded type that maps to str.
Next problem is, that because of the expression system, we would need to add the types passed in to the variables, because a repr(arrow_dtype) cannot be evaluated again.
This would need to use a similar ideas as #2089 where we don't add types multiple times.

For the rest, I'll first wait for your response to #2187 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants