numpy.asarray
The numpy.asarray function converts a data structure to a NumPy array.
This function is similar to np.array (although with fewer options), the biggest difference being the fact that np.array generates -by default- an independent copy of the structure passed as an argument, whereas numpy.asarray does not.