SciPy

numpy.ndarray.__imod__

ndarray.__imod__ None

x.__imod__(y) <==> x%=y