I have a csv that has values spread over multiple rows like this (real data has about 70 columns)
id | name | alias
1 | Amy | Potato
| | Fortress
2 | Bill | Gyroscope
...
Now I want to import this into a dataframe. The tricky part is reading aliases into an array if there is a multiple of them. From the example above we should get Amy [Potato, Fortress] and Bill [Gyroscope]
I can do it with row-by-row processing but I was wandering if there is some smarter built-in way.
UPD: clarified the requirement
read_csvof pandas?