convert list into numpy.ndarray code example Example: np list to np import numpy as np a = np.array( [[2,3,4], [3,4,5]] )