Getting ready

In this recipe, we showcase the flexibility of the groupby DataFrame method by answering the following queries:

  • Finding the number of cancelled flights for every airline per weekday
  • Finding the number and percentage of cancelled and diverted flights for every airline per weekday
  • For each origin and destination, finding the total number of flights, the number and percentage of cancelled flights, and the average and variance of the airtime
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset