numpy.ma.masked_array.mT#
property
- property ma.masked_array.mT#
Return the matrix-transpose of the masked array.
The matrix transpose is the transpose of the last two dimensions, even if the array is of higher dimension.
在 2.0 版本加入.
- Returns:
- result: MaskedArray
The masked array with the last two dimensions transposed
- Raises:
- ValueError
If the array is of dimension less than 2.
参见
ndarray.mTEquivalent method for arrays