Suppose I have a dataframe
col1 col2
0 1 John Constantine
1 2 ML Engineer
2 3 Colorado
I want to append all values in col2 to a list and each row should become a string value in the list. ex
output = ['John Constantine', 'ML Engineer' , 'Colorado']
The issue is when I use
output = df.col2
The output becomes a dataframe again. Even when I use tolist() I get list of list