Skip to content

Commit b15b04a

Browse files
committed
Add exercise question for Split and combine arrays
1 parent 13d6d2e commit b15b04a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

numpy/split-combine/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Split and combine arrays
2+
3+
Continue with the previous 4x4 array
4+
5+
1. Use `np.split()` function for splitting the array into two new 2x4 arrays.
6+
Reconstruct the original 4x4 array by using `np.concatenate()`.
7+
2. Repeat the above exercise but create now 4x2 subarrays and then combine
8+
them.

0 commit comments

Comments
 (0)