# read data
x = np.arange(10, dtype=np.int64)
np.save("1.npy", x)

# open data
f = open("1.npy", "rb")
print(np.frombuffer(f.read(8), dtype=np.int64))
f.close()

print(np.load("1.npy"))

Gives some wrong number.
But np.load(“1.npy”) works as expected.