I'm trying to load the npz file using np.load() function in Colab (.ipynb), but the "TypeError: 'NpzFile' object is not callable " appears in the 4th line below.
import numpy as np
a1 = np.array([1,2,3])
np.savez_compressed('some_data.npz', A=a1)
data1 = np.load('some_data.npz', 'r', encoding='latin1')
data1A = data1['A']
Could you find what is the problem?
