Shifting numpy array contents

Heiko h.stegmann at
Thu Mar 6 18:37:16 CET 2003

Is there a simple way to shift the contents of multi-dimensional numpy
arrays index-wise? E.g., shifting a complete row by a given number of
indices to the right, using slicing or any simple concept rather than
loop constructs?


More information about the Python-list mailing list