.NPY File Extension
Python NumPy Array File
3.6 | 25 Votes
What is an NPY file?
An NPY file is a NumPy array file created by the Python software package with the NumPy library installed. It contains an array saved in the NumPy (NPY) file format. NPY files store all the information required to reconstruct an array on any computer, which includes dtype and shape information.
NumPy is a Python programming language library that provides support for large arrays and matrices.
You can export an array to an NPY file by using np.save('filename.npy', array).
You can load an array in an NPY file by using np.load('filename.npy').