from list to [array()] python code example Example: python array to list a = np.array([1, 2]) list(a)