SciPy

numpy.lib.user_array.container.byteswap

container.byteswap()[source]