I have a csv with string of lists such as:
1,"[1, 2, 3, 4, 5]"
2,"[1, 2, 3, 4, 5]"
3,"[1, 2, 3, 4, 5]"
I want to convert every string to Series, something like that
series_a = pd.Series("[1, 4, 5, 10, 9, 3, 2, 6, 8, 4]")
print(series_a)
0 1
1 4
2 5
3 10
4 9
5 3
6 2
7 6
8 8
9 4
dtype: int64
But I am getting something like this:
0 [1, 4, 5, 10, 9, 3, 2, 6, 8, 4]
dtype: object