I am trying to add an integer to an already existing array. But I am getting the following error:
"AttributeError: 'numpy.ndarray' object has no attribute 'append'"
This is the code I am using:
import numpy as np
data = np.array(f['abc']['efg']['xyz'])
data.append(0)