atleast_2d(*arys)
This docstring was copied from numpy.atleast_2d.
Some inconsistencies with the Dask version may exist.
One or more array-like sequences. Non-array inputs are converted to arrays. Arrays that already have two or more dimensions are preserved.
An array, or list of arrays, each with a.ndim >= 2
. Copies are avoided where possible, and views with two or more dimensions are returned.
View inputs as arrays with at least two dimensions.
>>> np.atleast_2d(3.0) # doctest: +SKIP array([[3.]])This example is valid syntax, but we were not able to check execution
>>> x = np.arange(3.0) # doctest: +SKIPThis example is valid syntax, but we were not able to check execution
... np.atleast_2d(x) # doctest: +SKIP array([[0., 1., 2.]])
>>> np.atleast_2d(x).base is x # doctest: +SKIP TrueThis example is valid syntax, but we were not able to check execution
>>> np.atleast_2d(1, [1, 2], [[1, 2]]) # doctest: +SKIP [array([[1]]), array([[1, 2]]), array([[1, 2]])]See :
The following pages refer to to this document either explicitly or contain code examples using this.
dask.array.routines.atleast_3d
dask.array.routines.atleast_1d
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them