-
Notifications
You must be signed in to change notification settings - Fork 23
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
ENH: Support pandas nullable dtypes such as boolean and string #219
Comments
@jtmiclat Thanks for the report! As long as there are no missing values, adding |
@jorisvandenbossche I did some initial testing and adding
I think it is best to wait for support for recognizing pd.NA. Thanks! |
I imagine that supporting writing dataframes with |
Seems like dtypes Maybe we should change the title of this issue to indicate that it is a broader issue, or open another one ? Some documentation in that regard would be welcome too. |
@Oreilles renamed the issue to an ENH request to support nullable fields. I think |
Hi, I was getting an error when using the
write_dataframe()
when using geodataframes containing booleans fromgoogle-cloud-bigquery
After some digging I figured out that the returned dtype for bool_field was a
pandas.BooleanDtype
/boolean
instead ofbool
and was able to replicated it without bigquery. It seems to be able to work fine with fiona but breaks with pyogrioMy hunch is to add
boolean
topyogrio/pyogrio/_io.pyx
Lines 60 to 84 in 75e8f13
Thanks for the wonderful work!
The text was updated successfully, but these errors were encountered: