question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deprecation Warning from numpy 1.19.3

See original GitHub issue

@brandon-rhodes , I get during my tests a warning in skyfield 1.34:

/Users/mw/PycharmProjects/Envs/mw4/lib/python3.8/site-packages/skyfield/earthlib.py:53: 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 vel = ANGVEL * DAY_S * array((-acsst, accst, zero))

Michel

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mworioncommented, Jan 18, 2021

@brandon-rhodes Just to give you a quick hint relating your fix: it works in my environment with actual master. The warning is gone. Many thanks ! Michel

1reaction
mworioncommented, Dec 17, 2020

…check done, same warning with the actual master…

Read more comments on GitHub >

github_iconTop Results From Across the Web

NumPy 1.19.0 Release Notes
This NumPy release is marked by the removal of much technical debt: support for Python 2 has been removed, many deprecations have been...
Read more >
Error installing NumPy via Pip on macOS Big Sur with python ...
Reproducing code example: Install Pandas with PIP after a clean install of macOS Big Sur and Python3.9 via Homebrew. pip install pandas pip3 ......
Read more >
Debugging Numpy VisibleDeprecationWarning (ndarray from ...
In [68]: np.warnings.filterwarnings('ignore', category=np.VisibleDeprecationWarning) In [69]: foo() one Out[69]: array([list([1]), list([1, ...
Read more >
Converting `np.character` to a dtype is deprecated ... - GitLab
Getting a \Anaconda3\envs\py37_sd\lib\site-packages\vtkmodules\util\numpy_support.py:68:DeprecationWarning: Converting np.character to a ...
Read more >
Error installing pandas on a Mac in python 3
Greetings, I am totally new to Python, I don't even know if this is the ... NumPy 1.19.3 may not yet support Python...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found