Reputation: 1982
C_name,Score,rank raj,488,1 sai,480,2 john,350,3 dev,340,4 mani,270,5
this is my dataframe and i have to convert c_name column into list..Is is possible to convert column into list?
Upvotes: 1
Views: 79
Reputation: 862591
You can use tolist:
tolist
print df.C_name.tolist() ['raj', 'sai', 'john', 'dev', 'mani']
Upvotes: 2