pandas array to list code example
Example 1: pandas to list
df.values.tolist()
Example 2: ndarray to list
a = np.array([1, 2])
a.tolist()
Example 3: python array to list
a = np.array([1, 2])
list(a)
df.values.tolist()
a = np.array([1, 2])
a.tolist()
a = np.array([1, 2])
list(a)