Geopandas warning when running tests
When running the tests (locally, at least), I get the following warning from geopandas
:
tests/test_aggregatedexposuremodel.py::test_ExposureModelESRM20
/home/cnievas/Documents/GFZ_local/GDE/00_repos/gde-importer/venv/lib/python3.7/site-packages/geopandas/geoseries.py:207: DeprecationWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning.
s = pd.Series(data, index=index, name=name, **kwargs)
-- Docs: https://docs.pytest.org/en/stable/warnings.html
Need to investigate if this can cause problems in the code, where and how to solve it. We are not directly calling pandas.Series
, so I suspect this is raised when calling pandas.read_csv
instead.