MCPcopy Index your code
hub / github.com/dask/dask / array

Function array

dask/array/_array_expr/_collection.py:1457–1463  ·  view source on GitHub ↗
(x, dtype=None, ndmin=None, *, like=None)

Source from the content-addressed store, hash-verified

1455
1456@derived_from(np)
1457def array(x, dtype=None, ndmin=None, *, like=None):
1458 x = asarray(x, like=like)
1459 while ndmin is not None and x.ndim < ndmin:
1460 x = x[None, :]
1461 if dtype is not None and x.dtype != dtype:
1462 x = x.astype(dtype)
1463 return x
1464
1465
1466def concatenate(seq, axis=0, allow_unknown_chunksizes=False):

Callers 1

Calls 2

asarrayFunction · 0.70
astypeMethod · 0.45

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…