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

compat: Ensure that pandas dtype matches dask when loading data from parquet #156

Merged
merged 10 commits into from
Nov 12, 2024
2 changes: 1 addition & 1 deletion spatialpandas/io/parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def _perform_read_parquet_dask(
if delayed_partitions:
result = from_delayed(
delayed_partitions, divisions=divisions, meta=meta, verify_meta=False
)
).astype(meta.dtypes)
hoxbro marked this conversation as resolved.
Show resolved Hide resolved
else:
# Single partition empty result
result = from_pandas(meta, npartitions=1)
Expand Down