I have a list of lists that I like to convert to a Pandas data frame. My list looks like this:
[1 25
2 35
3 45
4 55
5 65
Name: a, Length: 5, dtype: int
6 75
7 85
8 95
9 105
10 115
Name: b, Length: 5, dtype: int
11 125
12 135
13 145
14 155
15 165
Name: c, Length: 5, dtype: int]
My code to change it to a data frame is:
df = pd.DataFrame(list, index=None, columns=None)
the result looks like this:
But I want it to be like this:
Any help please?