Skip to content

DriverVectorCube.from_geojson incompatible with pandas 3 (just released) #459

@soxofaan

Description

@soxofaan
import pandas
import openeo_driver.datacube

print(pandas.__version__)
# 3.0.0

geometries = {
    'type': 'Feature',
    'geometry': {'type': 'Point', 'coordinates': [66, 52]},
    'properties': {'row_index': 1, 'description': 'foo'}
}
openeo_driver.datacube.DriverVectorCube.from_geojson(
    geometries
)
#  Cannot interpret '<StringDtype(na_value=nan)>' as a data type

snippet works with pandas<3.0.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions