numpy.ma
numpy.ma.MaskedArray .__ mod __
numpy.ma.MaskedArray .__ divmod __
MaskedArray.
__rmod__
x .__ rmod __(y)y%x