-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Datashader and polygons: Cannot interpret MultiPolygonDtype(float64) as data type #1134
Comments
I cannot reproduce this is a new conda environment using the same versions of the libraries that you have (excluding
Can you check what version of I see that you are using your system's |
I reinstalled everything in a new virtual environment and somehow it appears to work. As you indeed mentioned my Jupyter notebook probably did not use all libraries from my previously created virtual environment (with Interestingly, when I reverted back to the versions mentioned in the spatialpandas Github issue the example did work, even when my virtual environment was all jumbled up. Perhaps still relevant, the version of |
Thanks for trying out a new virtual environment and reporting back. If you have |
Description of expected behavior and the observed behavior
I get errors following the exact code outlined in the the tutorial on working with polygons in Datashader.
More specifically the error boils down to a specific polygon data type:
The only related issue I found was a spatialpandas Github issue, which indicated that a solution would be to downgrade to older versions of
geopandas
. However, this did nothing on my systems and seeing that the issue was raised more than 2 years ago I do not think downgrading multiple versions would be useful by any means.I have also tried converting the datatype to other datatypes that Datashader might understand, but have yet to succeed in producing anything.
How come that the example given by the Datashader developer does not work on my end due to some typing error? Is this an underlying issue with different versions of the used libraries?
Complete, minimal, self-contained example code that reproduces the issue
Output with error message
Output
ALL software version info
The text was updated successfully, but these errors were encountered: