I would like to build a 3,000 row long dataframe with code only (so far I import the document from XLS), following these rules:
Flight Number: I would like to define the numbers in another simpler dataframe. The flight numbers stay the same 24 times (see departure times). Dataframe would look like this:
df = pd.DataFrame({'Flight Number':['LX2104','LX2105','LX2320','LX2321','LX1232','LX1232'],
'Leg Route': ['GVA-AGP','GVA-AGP','GVA-AJA','GVA-AJA','GVA-ARN','GVA-ARN']})
'Leg Flight Pair': ['LX2104/2105','LX2104/2105','LX2320/2321','LX2320/2321','LX1232/1233','LX1232/1233']})
STD Departure: From - to 23 (-, 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23) Leg Route: Similar to Flight Number this would also be defined in the dataframe (df above) Leg Flight Pair: Similar to Flight Number & Leg Route, this would also be defined in the dataframe (df above) Products: I would list the product names in a list


