[Numpy-discussion] index the last several members of a ndarray

Jean-Luc Menut jeanluc.menut@free...
Tue Oct 18 06:51:24 CDT 2011


> how can I pick up something like:
> array([[1, 2, 3, 4],
>         [6, 7, 8, 9]])


I'm not sure to understand, should not a[:,1:] be sufficient ?
Did I miss something in your message ?



More information about the NumPy-Discussion mailing list