Answers for "turn a python array into a 2d numpy array"

0

2d to 1d array python

import numpy as np  
ini_array1 = np.array([[1, 2, 3], [2, 4, 5], [1, 2, 3]])
result = ini_array1.flatten()
Posted by: Guest on August-01-2021

Code answers related to "turn a python array into a 2d numpy array"

Python Answers by Framework

Browse Popular Code Answers by Language