MCPcopy Index your code
hub / github.com/pydata/xarray / concatenate

Function concatenate

xarray/tests/arrays.py:94–101  ·  view source on GitHub ↗
(
    arrays: Iterable["ConcatenatableArray"], /, *, axis=0
)

Source from the content-addressed store, hash-verified

92
93@implements(np.concatenate)
94def concatenate(
95 arrays: Iterable["ConcatenatableArray"], /, *, axis=0
96) -> "ConcatenatableArray":
97 if any(not isinstance(arr, ConcatenatableArray) for arr in arrays):
98 raise TypeError
99
100 result = np.concatenate([arr._array for arr in arrays], axis=axis)
101 return ConcatenatableArray(result)
102
103
104@implements(np.stack)

Callers

nothing calls this directly

Calls 1

ConcatenatableArrayClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…