10000 Changed np.NaN to np.nan for compatibility with NumPy 2.0 by phista · Pull Request #108 · matthewgilbert/pdblp · GitHub
[go: up one dir, main page]

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

Changed np.NaN to np.nan for compatibility with NumPy 2.0 #108

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

phista
Copy link
Contributor
@phista phista commented Nov 20, 2024

Hi Matthew,

this PR closes #107 by replacing four instances of np.NaN with np.nan.

I tried to get the tests to run, but there are some issues due to deprecated features. I fixed the pandas.util.testing import (not included here), but pytest.Config has been changed, so I'm unable to run tests. As the original fix appears to be trivial, I decided to submit it anyways.

Thank you for the great work.

@matthewgilbert matthewgilbert merged commit 0ecf495 into matthewgilbert:master Dec 14, 2024
@matthewgilbert
Copy link
Owner

Great thanks for the PR @phista, sorry for the delay!

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.

np.nan / np.NaN issue on numpy => 2.0.0
2 participants
0