Concatenate Arrays
easynumpy_combineImplement concat_arrays(arrays).
Given a list of 1D arrays, return a single 1D array that is their end-to-end
concatenation, preserving order. For example [[1, 2], [3], [4, 5]] →
[1, 2, 3, 4, 5]. No for/while loops.
Constraints
- no for/while loops
Your solution
Edit concat_arrays and run the real pytest suite in your browser — no install required. Your code is saved locally.
Loading the Python runtime (first run only)…
Hints
Hint 1
np.concatenate(arrays) joins a sequence of arrays along an existing axis.