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

error running Spatialpandas hvplot example #58

Open
KarenChen9999 opened this issue Feb 4, 2021 · 2 comments
Open

error running Spatialpandas hvplot example #58

KarenChen9999 opened this issue Feb 4, 2021 · 2 comments

Comments

@KarenChen9999
Copy link

I had some issues running the exmaple using spatialpandas and hvplot to plot million geometries. These are the codes that i am running;

spd_world = spd.GeoDataFrame(world)
spd_world.hvplot(datashade=True, project=True, aggregator=ds.count_cat('continent'), color_key='Category10')

and the error i got is:

WARNING:param.dynamic_operation: Callable raised "TypeError("Cannot interpret 'MultiPolygonDtype(float64)' as a data type")".
TypeError: Cannot interpret 'MultiPolygonDtype(float64)' as a data type

my packages are:
geopandas 0.8.1
datashader 0.12.0
holoviews 1.14.1
spatialpandas 0.3.6
hvplot 0.7.0

I am not sure how to resolve this issue. any suggestions please?

@KarenChen9999
Copy link
Author

just tested with older geopandas version 0.8.0 and it works ok

@ozak
Copy link

ozak commented Sep 28, 2021

Same issue....different versions of packages
geopandas 0.9.0
geopandas-base 0.9.0
datashader 0.13.0
holoviews 1.14.6
spatialpandas 0.4.0
hvplot 0.7.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants