{ "cells": [ { "cell_type": "code", "execution_count": 3, "id": "a10c60c4", "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "data = pd.read_csv('/home/xj/toolAugEnv/code/toolConstraint/database/flights/Combined_Flights_2022.csv')" ] }, { "cell_type": "code", "execution_count": 17, "id": "1c12a0f0", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | FlightDate | \n", "Airline | \n", "Origin | \n", "Dest | \n", "Cancelled | \n", "Diverted | \n", "CRSDepTime | \n", "DepTime | \n", "DepDelayMinutes | \n", "DepDelay | \n", "... | \n", "WheelsOff | \n", "WheelsOn | \n", "TaxiIn | \n", "CRSArrTime | \n", "ArrDelay | \n", "ArrDel15 | \n", "ArrivalDelayGroups | \n", "ArrTimeBlk | \n", "DistanceGroup | \n", "DivAirportLandings | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "2022-04-04 | \n", "Commutair Aka Champlain Enterprises, Inc. | \n", "GJT | \n", "DEN | \n", "False | \n", "False | \n", "1133 | \n", "1123.0 | \n", "0.0 | \n", "-10.0 | \n", "... | \n", "1140.0 | \n", "1220.0 | \n", "8.0 | \n", "1245 | \n", "-17.0 | \n", "0.0 | \n", "-2.0 | \n", "1200-1259 | \n", "1 | \n", "0 | \n", "
1 | \n", "2022-04-04 | \n", "Commutair Aka Champlain Enterprises, Inc. | \n", "HRL | \n", "IAH | \n", "False | \n", "False | \n", "732 | \n", "728.0 | \n", "0.0 | \n", "-4.0 | \n", "... | \n", "744.0 | \n", "839.0 | \n", "9.0 | \n", "849 | \n", "-1.0 | \n", "0.0 | \n", "-1.0 | \n", "0800-0859 | \n", "2 | \n", "0 | \n", "
2 | \n", "2022-04-04 | \n", "Commutair Aka Champlain Enterprises, Inc. | \n", "DRO | \n", "DEN | \n", "False | \n", "False | \n", "1529 | \n", "1514.0 | \n", "0.0 | \n", "-15.0 | \n", "... | \n", "1535.0 | \n", "1622.0 | \n", "14.0 | \n", "1639 | \n", "-3.0 | \n", "0.0 | \n", "-1.0 | \n", "1600-1659 | \n", "2 | \n", "0 | \n", "
3 | \n", "2022-04-04 | \n", "Commutair Aka Champlain Enterprises, Inc. | \n", "IAH | \n", "GPT | \n", "False | \n", "False | \n", "1435 | \n", "1430.0 | \n", "0.0 | \n", "-5.0 | \n", "... | \n", "1446.0 | \n", "1543.0 | \n", "4.0 | \n", "1605 | \n", "-18.0 | \n", "0.0 | \n", "-2.0 | \n", "1600-1659 | \n", "2 | \n", "0 | \n", "
4 | \n", "2022-04-04 | \n", "Commutair Aka Champlain Enterprises, Inc. | \n", "DRO | \n", "DEN | \n", "False | \n", "False | \n", "1135 | \n", "1135.0 | \n", "0.0 | \n", "0.0 | \n", "... | \n", "1154.0 | \n", "1243.0 | \n", "8.0 | \n", "1245 | \n", "6.0 | \n", "0.0 | \n", "0.0 | \n", "1200-1259 | \n", "2 | \n", "0 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
4078313 | \n", "2022-03-31 | \n", "Republic Airlines | \n", "MSY | \n", "EWR | \n", "False | \n", "True | \n", "1949 | \n", "2014.0 | \n", "25.0 | \n", "25.0 | \n", "... | \n", "2031.0 | \n", "202.0 | \n", "32.0 | \n", "2354 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "2300-2359 | \n", "5 | \n", "1 | \n", "
4078314 | \n", "2022-03-17 | \n", "Republic Airlines | \n", "CLT | \n", "EWR | \n", "True | \n", "False | \n", "1733 | \n", "1817.0 | \n", "44.0 | \n", "44.0 | \n", "... | \n", "NaN | \n", "NaN | \n", "NaN | \n", "1942 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "1900-1959 | \n", "3 | \n", "0 | \n", "
4078315 | \n", "2022-03-08 | \n", "Republic Airlines | \n", "ALB | \n", "ORD | \n", "False | \n", "False | \n", "1700 | \n", "2318.0 | \n", "378.0 | \n", "378.0 | \n", "... | \n", "2337.0 | \n", "52.0 | \n", "7.0 | \n", "1838 | \n", "381.0 | \n", "1.0 | \n", "12.0 | \n", "1800-1859 | \n", "3 | \n", "0 | \n", "
4078316 | \n", "2022-03-25 | \n", "Republic Airlines | \n", "EWR | \n", "PIT | \n", "False | \n", "True | \n", "2129 | \n", "2322.0 | \n", "113.0 | \n", "113.0 | \n", "... | \n", "2347.0 | \n", "933.0 | \n", "6.0 | \n", "2255 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "2200-2259 | \n", "2 | \n", "1 | \n", "
4078317 | \n", "2022-03-07 | \n", "Republic Airlines | \n", "EWR | \n", "RDU | \n", "False | \n", "True | \n", "1154 | \n", "1148.0 | \n", "0.0 | \n", "-6.0 | \n", "... | \n", "1201.0 | \n", "1552.0 | \n", "4.0 | \n", "1333 | \n", "NaN | \n", "NaN | \n", "NaN | \n", "1300-1359 | \n", "2 | \n", "1 | \n", "
4078318 rows × 61 columns
\n", "\n", " | FlightDate | \n", "DepTime | \n", "ArrTime | \n", "Distance | \n", "OriginCityName | \n", "DestCityName | \n", "price | \n", "
---|---|---|---|---|---|---|---|
0 | \n", "2022-04-04 | \n", "1123.0 | \n", "1228.0 | \n", "212.0 | \n", "Grand Junction | \n", "Denver | \n", "72.0 | \n", "
1 | \n", "2022-04-04 | \n", "728.0 | \n", "848.0 | \n", "295.0 | \n", "Harlingen/San Benito | \n", "Houston | \n", "141.0 | \n", "
2 | \n", "2022-04-04 | \n", "1514.0 | \n", "1636.0 | \n", "251.0 | \n", "Durango | \n", "Denver | \n", "114.0 | \n", "
3 | \n", "2022-04-04 | \n", "1430.0 | \n", "1547.0 | \n", "376.0 | \n", "Houston | \n", "Gulfport/Biloxi | \n", "103.0 | \n", "
4 | \n", "2022-04-04 | \n", "1135.0 | \n", "1251.0 | \n", "251.0 | \n", "Durango | \n", "Denver | \n", "118.0 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
4078313 | \n", "2022-03-31 | \n", "2014.0 | \n", "234.0 | \n", "1167.0 | \n", "New Orleans, LA | \n", "Newark, NJ | \n", "NaN | \n", "
4078314 | \n", "2022-03-17 | \n", "1817.0 | \n", "NaN | \n", "529.0 | \n", "Charlotte, NC | \n", "Newark, NJ | \n", "NaN | \n", "
4078315 | \n", "2022-03-08 | \n", "2318.0 | \n", "59.0 | \n", "723.0 | \n", "Albany, NY | \n", "Chicago, IL | \n", "NaN | \n", "
4078316 | \n", "2022-03-25 | \n", "2322.0 | \n", "939.0 | \n", "319.0 | \n", "Newark, NJ | \n", "Pittsburgh, PA | \n", "NaN | \n", "
4078317 | \n", "2022-03-07 | \n", "1148.0 | \n", "1556.0 | \n", "416.0 | \n", "Newark, NJ | \n", "Raleigh/Durham, NC | \n", "NaN | \n", "
4078318 rows × 7 columns
\n", "