Skip to content

Commit aaac02c

Browse files
committed
remove unused convert_to_list
1 parent a5dd51e commit aaac02c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

dask_geopandas/io/parquet.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,6 @@ def _get_partition_bounds_parquet(part, fs):
4242
return _get_partition_bounds(pq_metadata.metadata)
4343

4444

45-
def _convert_to_list(column) -> list | None:
46-
if column is None or isinstance(column, list):
47-
pass
48-
elif isinstance(column, tuple):
49-
column = list(column)
50-
elif hasattr(column, "dtype"):
51-
column = column.tolist()
52-
else:
53-
column = [column]
54-
return column
55-
56-
5745
class GeoArrowEngine(GeoDatasetEngine, DaskArrowDatasetEngine):
5846
"""
5947
Engine for reading geospatial Parquet datasets. Subclasses dask's

0 commit comments

Comments
 (0)