numpy.ma.atleast_3d()
numpy.ma.atleast_3d
-
numpy.ma.atleast_3d(*arys) =
- View inputs as arrays with at least three dimensions.
Parameters: arys1, arys2, ... : array_like
One or more array-like sequences. Non-array inputs are converted to arrays. Arrays that already have three or more dimensions are preserved.
Returns: res1, res2, ... : ndarray
An array, or tuple of arrays, each with
a.ndim >= 3
. Copies are avoided where possible, and views w