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

Some Magics do not function with Numpy 2.0 #48

Closed
ibertchen opened this issue Jul 19, 2024 · 2 comments
Closed

Some Magics do not function with Numpy 2.0 #48

ibertchen opened this issue Jul 19, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ibertchen
Copy link

After upgrading Numpy to version 2.0, some Magics commands do not work correctly due to the way Numpy handles NaN.

For example:

sysuse auto, clear
%head 10

leads to

browse failed.
np.NaN was removed in the NumPy 2.0 release. Use np.nan instead.

The current workaround is to downgrade Numpy to version 1.26.4 or earlier.

@hugetim
Copy link
Owner

hugetim commented Sep 18, 2024

Thank you for reporting! I'll try to get a fix by the end of this month.

@hugetim hugetim added the bug Something isn't working label Sep 18, 2024
@hugetim hugetim self-assigned this Oct 23, 2024
@hugetim
Copy link
Owner

hugetim commented Oct 26, 2024

Fixed in v0.8.1

@hugetim hugetim closed this as completed Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants