Skip to content

BUG: IntegerArray.astype(boolean) #31187

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

Merged

Conversation

TomAugspurger
Copy link
Contributor

Closes #31102

@TomAugspurger TomAugspurger added the ExtensionArray Extending pandas with custom dtypes or arrays. label Jan 21, 2020
@TomAugspurger TomAugspurger added this to the 1.0.0 milestone Jan 21, 2020
@TomAugspurger
Copy link
Contributor Author

Added a test that IntegerArray.astype(boolean) works with non 0/1 values.

@jorisvandenbossche jorisvandenbossche merged commit 339edcd into pandas-dev:master Jan 23, 2020
@jorisvandenbossche
Copy link
Member

Thanks!

@jorisvandenbossche
Copy link
Member

@meeseeksdev backport to 1.0.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ExtensionArray Extending pandas with custom dtypes or arrays.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Cannot astype from IntegerArray to BooleanArray with missing values
3 participants