Hello I added two columns and got a column to display the sum of those two columns successfully. However I want to display other columns along with that summed column. For example I would like to show the ArrDelay and DepDelay or another column if i choose to along with this summed column.
Here is my code below:
flight_data_finalcopy["sumDepArr"] = flight_data_finalcopy["DepDelay"] + flight_data_finalcopy["ArrDelay"]
sum_arrival_delay = flight_data_finalcopy["sumDepArr"]
sum_arrival_delay_fliter = sum_arrival_delay[["UniqueCarrier", "AirlineID", "DepDelay", "ArrDelay", "sumDepArr"]]
print(display(sum_arrival_delay_filter))