numpy.ma.hsplit()
numpy.ma.hsplit
-
numpy.ma.hsplit(ary, indices_or_sections) =
-
Split an array into multiple sub-arrays horizontally (column-wise).
Please refer to the
split
documentation.hsplit
is equivalent tosplit
withaxis=1
, the array is always split along the second axis regardless of the array dimension.See also
split
- Split an array into multiple sub-arrays of equal size.
Notes
The function is applied to both the _data and the _mask, if any.
Examples
>