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
Error is due to importing specific Name within the geopandas package
Instructions to Reproduce the Bug
in a python REPL, run from nesta_ds_utils.loading_saving.S3 import download_obj
Traceback
from nesta_ds_utils.loading_saving.S3 import download_obj
File "/opt/homebrew/Caskroom/miniconda/base/envs/ahl_out_of_home_targets/lib/python3.10/site-packages/nesta_ds_utils/__init__.py", line 1, in<module>
from nesta_ds_utils.loading_saving import _gis_enabled, _excel_backend_available
File "/opt/homebrew/Caskroom/miniconda/base/envs/ahl_out_of_home_targets/lib/python3.10/site-packages/nesta_ds_utils/loading_saving/__init__.py", line 1, in<module>
from nesta_ds_utils.loading_saving.gis_interface import _gis_enabled
File "/opt/homebrew/Caskroom/miniconda/base/envs/ahl_out_of_home_targets/lib/python3.10/site-packages/nesta_ds_utils/loading_saving/gis_interface.py", line 13, in<module>
def _gdf_to_fileobj(df_data: GeoDataFrame, path_to: str, **kwargs) -> BytesIO:
NameError: name 'GeoDataFrame' is not defined
The text was updated successfully, but these errors were encountered:
Describe the Bug
Error is due to importing specific Name within the geopandas package
Instructions to Reproduce the Bug
in a python REPL, run
from nesta_ds_utils.loading_saving.S3 import download_obj
Traceback
The text was updated successfully, but these errors were encountered: