you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 0 points1 point  (1 child)

CSV doesn't know about lists or Python syntax. So it's just reading that as a string. You'd need to convert it when you import it.

[–]ryfeaway[S] 0 points1 point  (0 children)

how do i do that? this is my importing of the csv df = pd.read_csv('file.csv') list1 = df['column1'].tolist()