transform pandas series to list code example Example: pandas series to list lst = data.tolist() # data is pandas series