>>> aa=np.array([[1,2,3],[4,5,6],[7,8,9]])
>>> aa
array([[1, 2, 3],
[4, 5, 6],
[7, 8, 9]])
>>> np.delete(aa,1,axis=0)
array([[1, 2, 3],
[7, 8, 9]])
>>> aa
array([[1, 2, 3],
[4, 5, 6],
[7, 8, 9]])
>>> np.delete(aa,1,axis=1)
array([[1, 3],
[4, 6],
[7, 9]])