Similar to this, I am curious how to remove specific elements from every numpy array in a numpy array. My data is given in form of X below. I think this should work:
You need to apply np.delete along an axis. Please refer to the third example in the documentation.
np.delete
Y = np.delete(X, 1, axis=1)