MCPcopy Create free account
hub / github.com/dask/dask / append

Function append

dask/array/routines.py:2496–2504  ·  view source on GitHub ↗
(arr, values, axis=None)

Source from the content-addressed store, hash-verified

2494
2495@derived_from(np)
2496def append(arr, values, axis=None):
2497 # based on numpy.append
2498 arr = asanyarray(arr)
2499 if axis is None:
2500 if arr.ndim != 1:
2501 arr = arr.ravel()
2502 values = ravel(asanyarray(values))
2503 axis = arr.ndim - 1
2504 return concatenate((arr, values), axis=axis)
2505
2506
2507def _average(

Callers

nothing calls this directly

Calls 4

asanyarrayFunction · 0.90
concatenateFunction · 0.90
ravelFunction · 0.85
ravelMethod · 0.45

Tested by

no test coverage detected