Run
import numpy x = list([[1, 2, 4], [8, 16, 32]]) arr = numpy.array(x) print("List :", x) print("Numpy Array :", arr)
Output