You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another examples is inspect_polygons does not seem to like string[pyarrow] (reduced example of NYC buildings)
importdaskimportholoviewsashvimportspatialpandas.ioassiofromholoviews.operation.datashaderimportdatashade, inspect_polygonshv.extension("bokeh")
dask.config.set({"dataframe.convert-string": False}) # False works# http://s3.amazonaws.com/datashader-data/nyc_buildings.parq.zipddf=sio.read_parquet_dask("./data/nyc_buildings.parq").persist()
ddf.dtypes# type and name is `pyarrow[string]` or object.polys=hv.Polygons(ddf)
shaded=datashade(polys)
hover=inspect_polygons(shaded).opts(fill_color="red", tools=["hover"])
(shaded*hover).opts(width=800, height=800)
Edit: It does not seem to be a problem with non-numpy dtype directly.
We should improve the support for different dtypes; currently, we really only support numpy.
dtypes which make sense to support:
pd.Int64dtype
date32[arrow]
(This can give problems see Exceptions raised when trying to create stacked bar chart with continous x-axis. #6302)polars
#5939.The text was updated successfully, but these errors were encountered: