Reading numpy arrays in Mathematica
[mathematica
python
]
One can read relatively simple numpy arrays that contain only numeric datatypes (NPY version 1.0) in Mathematica using a function written by Luca Robbiano:
<< "https://raw.githubusercontent.com/lr94/NumPyArray/refs/heads/master/NumPyArray.wl"
ReadNumPyArray[ file ]