I've browsed a few answers but haven't found the exact thing i'm looking for yet.
I have a pandas dataframe with a single column structured as follows (example)
0 alex
1 7
2 female
3 nora
4 3
5 female
...
999 fred
1000 15
1001 male
i want to split that single column into 3 columns holding name, age, and gender. to look something like this:
name age gender
0 alex 7 female
1 nora 3 female
...
100 fred 15 male
is there a way to do this? i was thinking about using the index but not sure how to actually do it