Converting the rows of a Pandas DataFrame to lists returns a list containing lists of all the column values in each row.
Solution for How to convert the rows of a Pandas DataFrame to lists in Python : You can use DataFrame.values.tolist() to convert the rows of a DataFrame to lists Use DataFrame.values.tolist() to convert the rows of a DataFrame to lists