I am trying to order (sort) some data in csv file using python (panda) in specific order but i cant figure it out. I would really appreciate your help.
The csv file has like five columns, what I want to do is to show 4 of the columns as headers (master) and the fifth column as the (detail). for example: the header (master) flight-id, from(airport),to (airport),total_time and for the detail part it should show the passengers names for that specific flight
1 FRA MAD 10HR
A
B
C
2 MAD FRA 11HR
G
F
H
K