MaskedArray.byteswap()
numpy.ma.MaskedArray.byteswap
-
MaskedArray.byteswap(inplace)
-
Swap the bytes of the array elements
Toggle between low-endian and big-endian data representation by returning a byteswapped array, optionally swapped in-place.
Parameters: inplace : bool, optional
If
True
, swap bytes in-place, default isFalse
.Returns: out : ndarray
The byteswapped array. If
inplace
isTrue
, this is a view to self.登录查看完整内容