[Numpy-discussion] why does b[:-0] not work, and is there an elegant solution?
Citi, Luca
lciti@essex.ac...
Wed Aug 19 07:54:28 CDT 2009
Another solution (elegant?? readable??) :
>> x[slice(-n or None)] # with n == 0, 1, ...
More information about the NumPy-Discussion
mailing list