convert a dataframe into a series of lists python code example Example: pandas series to list lst = data.tolist() # data is pandas series