Answers for "pandas dataframe to list of series"

8

pandas to list

df.values.tolist()
Posted by: Guest on April-18-2020
8

pandas series to list

lst = data.tolist() # data is pandas series
Posted by: Guest on April-27-2020

Code answers related to "pandas dataframe to list of series"

Python Answers by Framework

Browse Popular Code Answers by Language