Skip to content
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

Change numpy.NaN to numpy.nan for compatibility with numpy>=2.0.0 #160

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

ngehrsitz
Copy link
Contributor

Starting from numpy 2.0.0 the NaN import is missing:
https://github.com/numpy/numpy/blob/v2.0.0/numpy/__init__.pyi
The doc also recommends switching to nan:
https://numpy.org/doc/stable/reference/constants.html#numpy.NAN

@clampr clampr changed the base branch from master to dev June 19, 2024 14:02
@clampr clampr merged commit 31ccb20 into meteostat:dev Jun 19, 2024
2 checks passed
clampr added a commit that referenced this pull request Jun 20, 2024
* Change numpy.NaN to numpy.nan for compatibility with numpy>2.0.0 (#160)

* Version 1.6.8

---------

Co-authored-by: ngehrsitz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants