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

Support nullable pandas dtypes #3604

Closed
cpcloud opened this issue Mar 30, 2023 · 0 comments · Fixed by #3623
Closed

Support nullable pandas dtypes #3604

cpcloud opened this issue Mar 30, 2023 · 0 comments · Fixed by #3623
Labels
enhancement it's not broken, but we want it to be better

Comments

@cpcloud
Copy link

cpcloud commented Mar 30, 2023

It would be nice to support pandas nullable dtypes:

In [7]: import pandas as pd

In [8]: df = pd.DataFrame({"a": pd.Series([1, 2, None])}, dtype="Int8")

In [9]: df
Out[9]:
      a
0     1
1     2
2  <NA>

Right now, hypothesis tries to convert the input dtype in past.column to a numpy dtype, which won't work with these new dtypes.

@Zac-HD Zac-HD added the enhancement it's not broken, but we want it to be better label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement it's not broken, but we want it to be better
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants