Skip to content

Some Magics do not function with Numpy 2.0 #48

@ibertchen

Description

@ibertchen

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions