-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: Creating an ndarray from ragged nested sequences is deprecated #49
Comments
Hmm. Creating arrays with |
I'm tagging this as a bug as having lots of warnings appear is very annoying (even if everything else is working). |
Most these warnings have been fixed as part of #92. One remains:
We cannot force a |
Closed by #107. |
This warning occurs numerous times during testing.
tests/test_fixedextensionarray.py: 191 warnings
tests/test_geodataframe.py: 1 warning
tests/geometry/test_to_geopandas.py: 2 warnings
/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/core/_asarray.py:83: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
return array(a, dtype, copy=False, order=order)
This occurs with the latest version of spatialpandas, and numpy 1.19.1.
The text was updated successfully, but these errors were encountered: