a = shape (2, 3)
Try
Spaces or commas between values · new line = new row · blank line = new 2-D layer (3-D array).
Convert with
a.astype(…) Starting Python… (first visit downloads ≈ 15 MB, then it is cached)
import numpy as np
a = np.array([[1, 2, 3],
[4, 5, 6]])
result = a.astype(np.int64)
resultOutput
Output appears here.