Shifting numpy array contents

Heiko h.stegmann at arcor.de
Thu Mar 6 18:37:21 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?

Thanx,
Heiko




More information about the Python-list mailing list