Run »
×
Change Orientation
import numpy as np arr1 = np.array([1, 2, 3]) arr2 = np.array([4, 5, 6]) arr = np.stack((arr1, arr2), axis=1) print(arr)
[[1 4] [2 5] [3 6]]
×
Report a Problem:
Your E-mail:
Page address:
Description:
Submit