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

Jean-Luc Menut jeanluc.menut at free.fr
Tue Oct 18 07:51:24 EDT 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