ArrayLab Explore arrays. Understand tensors.
a = shape (2, 3)
Try

Spaces or commas between values · new line = new row · blank line = new 2-D layer (3-D array).

axis
Starting Python… (first visit downloads ≈ 15 MB, then it is cached)
Python not started
import numpy as np

a = np.array([[1, 2, 3],
              [4, 5, 6]])
b = np.array([[ 7,  8,  9],
              [10, 11, 12]])

result = np.concatenate([a, b], axis=0)
result
Output

Output appears here.