Remove rows in 3D numpy array
axis
should 1
.
>>> import numpy
>>> a = [[[1,2,3],
... [4,5,6],
... [7,8,9]],
... [[9,8,7],
... [6,5,4],
... [3,2,1]]]
>>> numpy.delete(a, 2, axis=1)
array([[[1, 2, 3],
[4, 5, 6]],
[[9, 8, 7],
[6, 5, 4]]])