import numpy as np
#create array of arrays
all_arrays = np.array([[10, 20, 30, 40, 50],
[60, 70, 80, 90, 100],
[110, 120, 130, 140, 150]])
#view array of arrays
print(all_arrays)
[[ 10 20 30 40 50]
[ 60 70 80 90 100]
[110 120 130 140 150]]
import numpy as np
ini_array1 = np.array([[1, 2, 3], [2, 4, 5], [1, 2, 3]])
# printing initial arrays
print("initial array", str(ini_array1))
# Multiplying arrays
result = ini_array1.flatten()
# printing result
print("New resulting array: ", result)