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
{{ message }}
Repository navigation
DriverVectorCube.from_geojson incompatible with pandas 3 (just released) #459
>>> openeo_driver.datacube.DriverVectorCube.from_geojson(
... geometries
... )
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/lippenss/src/openeo/openeo-python-driver/openeo_driver/datacube.py", line 507, in from_geojson
return cls.from_geodataframe(gdf, columns_for_cube=columns_for_cube)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lippenss/src/openeo/openeo-python-driver/openeo_driver/datacube.py", line 357, in from_geodataframe
columns_for_cube = [c for c in available_columns if numpy.issubdtype(data[c].dtype, numpy.number)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lippenss/src/openeo/openeo-python-driver/openeo_driver/datacube.py", line 357, in <listcomp>
columns_for_cube = [c for c in available_columns if numpy.issubdtype(data[c].dtype, numpy.number)]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lippenss/src/openeo/openeo-python-driver/venv311/lib/python3.11/site-packages/numpy/_core/numerictypes.py", line 534, in issubdtype
arg1 = dtype(arg1).type
^^^^^^^^^^^
TypeError: Cannot interpret '<StringDtype(na_value=nan)>' as a data type
Activity
Pin down pandas dependency below 3.0.0 for now #459
soxofaan commentedon Jan 22, 2026
full stack trace FYI
Issue #459 attempt to make DriverVectorCube.from_geodataframe compati…
soxofaan commentedon Jan 22, 2026
Quick draft PR attempt to fix pandas3 compatibility:
let's see what CI thinks of it
use pandas<3.0.0 from openeo_driver to fix tests