-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
geoviews throws TypeError: '<=' not supported between instances of #721
Comments
Just remove the string value '4' with the number 4 in the above example and it works just fine. |
Thanks for sharing. I think this is expected behavior since I don't expect geoviews to cast types. However, GeoViews could raise a more descriptive error if this happens? |
That’s what I meant. A better error message than the default exception would be great. So should this be moved to holoviews ?? |
What triggers the error is as simple as For the
|
@hoxbro I guess I don't understand why ranges would matter on non-numeric columns. So in the case of df.min there is an option to numeric_only |
Versions of relevant libraries (python 3.11 env)
bokeh 3.3.4 pyhd8ed1ab_0 conda-forge
geopandas 0.14.3 pyhd8ed1ab_0 conda-forge
geopandas-base 0.14.3 pyha770c72_0 conda-forge
geoviews 1.11.1 pyhd8ed1ab_0 conda-forge
geoviews-core 1.11.1 pyha770c72_0 conda-forge
holoviews 1.18.3 pyhd8ed1ab_0 conda-forge
Unncessary calculation of range on columns
geopandas array with many columns some of which of items that are not comparable (i.e. different types or Nans)
Example
Stack traceback and/or browser JavaScript console output
The text was updated successfully, but these errors were encountered: