0% found this document useful (0 votes)
11 views3 pages

Assigment 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views3 pages

Assigment 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Assigment 4

Intro to Big Data & Data Mining


Student: Tania Moreno
Date: 24/07/2024
Task 1: Histogram of United Airline Weather Delays
Create a histogram that shows the distribution of weather-related delays for United Airlines
flights.
Compare this histogram to a similar histogram for American Airline.

Task 2: Diverted Flights and Destination Airport


Identify the number of flights that were diverted and determine the most common destination
airport for these diverted flights.
Dest: LGA
Count: 30
Task 3: Find the average departure delay for each Airline

Unique Carrier Average Delay


1 9E 8.41
2 AA 12.5
3 B6 13.1
4 CO 12.4
5 DL 9.09
6 EV 10.1
7 F9 3.63
8 FL 13.2
9 MQ 10.1
10 NW 4.58
11 OH 9.59
12 OO 9.70
13 UA 8.82
14 US 5.16
15 WN 12.4
16 XE 9.04
17 YV 12.5

Task 4: Find the shortest flight of each airline

Unique Carrier Average Shortest


Flight
1 9E 89.2
2 AA 83.9
3 B6 188.
4 CO 141.
5 DL 98.0
6 EV 95.9
7 F9 125.
8 FL 98.2
9 MQ 47.8
10 NW 133.
11 OH 127.
12 OO 142.
13 UA 143.
14 US 135.
15 WN 81.7
16 XE 86.6
17 YV 132.
Task 5: Find the longest Arrival delay for each destination Airport

Longest Arrival Delay


1 ABQ 419
2 AEX 206
3 AGS 3
4 AMA 310
5 ANC 113
6 ATL 917
7 AUS 362
8 AVL 159
9 BDL 156
10 BHM 368

Task 6: Find the number of flights cancelled for each month.


Month cancelled.flights

Cancelled flights per month


1 1 182169
2 2 237258
3 3 326379
4 4 182341
5 5 152102
6 6 322820
7 7 154305
8 8 226442
9 9 -42535
10 10 29644
11 11 27171
12 12 285866

Task 7: Find the Airplane (identified with TailNum) that has the greatest number of flights in
this dataset

TailNum the greatest number of flights: 4249

You might also like