Open
Description
Quickly exploring which spatial methods that are defined in GeoPandas are not yet available here:
import pandas as pd
import geopandas
import dask.dataframe as dd
import dask_geopandas
methods_pandas = set([n for n in dir(pd.DataFrame) if not n.startswith("_")])
methods_geopandas = set([n for n in dir(geopandas.GeoDataFrame) if not n.startswith("_")])
methods_dask = set([n for n in dir(dd.DataFrame) if not n.startswith("_")])
methods_dask_geopandas = set([n for n in dir(dask_geopandas.GeoDataFrame) if not n.startswith("_")])
methods_geopandas_extra = methods_geopandas - methods_pandas
methods_dask_geopandas_extra = methods_dask_geopandas - methods_dask
>>> methods_geopandas_extra - methods_dask_geopandas_extra
{'cascaded_union',
'covered_by',
'covers',
'estimate_utm_crs',
'explore',
'from_features',
'from_file',
'from_postgis',
'has_sindex',
'iterfeatures',
'overlay',
'rename_geometry',
'sjoin',
'sjoin_nearest',
'to_file',
'to_postgis',
'to_wkb',
'to_wkt'}
>>> methods_dask_geopandas_extra - methods_geopandas_extra
{'calculate_spatial_partitions',
'hilbert_distance',
'interpolate',
'morton_distance',
'set_geometry',
'to_dask_dataframe'}
Some quick first notes:
covers
andcovered_by
are 2 missing predicates that should be trivial to add heresjoin
was added as a method in geopandas, we should do the same here
Metadata
Metadata
Assignees
Labels
No labels