pandas read series as list code example
Example 1: pandas to list
df.values.tolist()
Example 2: pandas series to list
lst = data.tolist() # data is pandas series
df.values.tolist()
lst = data.tolist() # data is pandas series