
A Time Analysis (2003-2016)
From my earliest recollections, I have harbored a profound fascination for the intricacies of the aviation industry, encompassing airlines, airports, carriers, and the intricate day-to-day infrastructure of an airline. Despite my professional involvement with data, I continuously explore diverse approaches to leverage online datasets in anticipation of potential career trajectories. My enduring curiosity revolves around the logistics and data intricately involved in the operations of such a multifaceted business as an airport.
Recently, I delved into a dataset I discovered online, titled 'airlines.csv,' a component of the CORGIS dataset project. Spanning from 2003 to 2016, this dataset encompasses various parameters categorized under 'Airport,' 'Time,' and 'Statistics.' The initial columns feature 'Airport.Code/.Name,' followed by 'Time.Month/Year,' and subsequently, several columns housing statistics, including 'Statistics.# of Delays.Carrier' and 'Statistics.# of Delays.Late Aircraft.' The dataset proved to be valuable for analysis; however, some data cleaning was required to enhance its quality.




I commenced my analysis by scrutinizing the designated dataset, 'Airlines.csv.' Notably, the dataset comprised 4409 rows and 24 columns, presenting a substantial yet manageable volume of data. Given my appreciation for Power Query, I opted to conduct the initial cleaning within its framework. However, recognizing the need for more intricate cleaning processes, I decided to leverage Pandas in Python. My recent self-directed learning endeavors in Pandas motivated me to incorporate this tool into the project, acknowledging its efficacy in handling extensive datasets.
Returning to Excel, I initiated an assessment of areas requiring cleaning. Specifically, I aimed to concatenate the 'Date,' 'Month,' and 'Time.Label' columns into a unified 'DD/MM/YYYY' format. Additionally, my attention was drawn to the 'Statistics.Carrier.Names' column, which exhibited a cluttered cell structure with multiple carrier names (e.g., 'American Airlines Inc.,JetBlue Airways,Continental Air Lines Inc.,Delta Air Lines Inc,...'). To streamline this information, I considered separating the carrier names into distinct columns on both pages, possibly utilizing a straightforward tickbox or a binary 'Yes/No' designation.
​
Furthermore, I identified the need to extract and distinguish the 'Airport' and 'City' components from entries like 'Atlanta, GA: Hartsfield-Jackson Atlanta International.' This separation would result in one column containing the City/State Code and another for the Airport, contributing to a more organized dataset.


​"Why do data scientists make good cleaners? They know how to tidy up messy datasets!"
I initiated the data cleaning process within Power Query, beginning with the individual refinement of date titles. Notably, I standardized the format to 'Year' instead of 'Time.Year' and 'Number of ()' in place of 'Statistics.#'. Additionally, I employed the 'Split column by Delimiter' function to separate the 'Area' and 'Airport,' utilizing a comma as the delimiter and assigning the results to distinct columns.
​
To establish a coherent data structure, I created a dedicated column for the 'Year,' facilitating the subsequent analysis of specific parameters, such as delays categorized by year. Recognizing the need for organizational efficiency, I implemented an ID column, foreseeing its utility in establishing relationships with forthcoming columns for each respective carrier company. In the new worksheet designed for the carrier companies, each company, including 'AirTran Airways Corporation' and 'Alaska Airlines Inc.,' is allocated a separate column, fostering a structured and accessible format for detailed analysis.


Pre/Post cleaning in Power Query
I systematically organized the airline company names by employing a delimiter and subsequently allocated them to individual columns. In an attempt to implement a checkbox feature via the developer tab, I encountered significant CPU usage, resulting in pronounced Excel lag. As an alternative, the suggestion to use a tick/cross format with the 'Wingdings' font, represented by 'Ü' and 'X,' was considered. However, this approach raised concerns about potential issues with data and formatting integrity during subsequent cleaning processes.
​
An exploration into VBA revealed code capable of generating a row of ticks. Nevertheless, I found the implementation of this code to be cumbersome, and it too incurred substantial CPU usage. Consequently, I opted for a straightforward approach, employing Yes/No columns to mitigate potential confusion in the dataset. Leveraging Excel formulas, specifically 'IF,' 'ISNUMBER,' and 'SEARCH,' I devised a systematic process to determine the presence of the respective airline. The resulting columns are populated with a simple 'Yes/No' indicator, contributing to a more comprehensible and manageable dataset.

I endeavored to address the aspect of my skill set in which I possessed the least experience, focusing on the utilization of Pandas for data manipulation. Seizing this opportunity, I aimed to enhance the robustness of the dataset by systematically identifying and eliminating any rows containing missing values. In the JupyterLab environment, initiated through PowerShell, I commenced the process by importing the Pandas library ('import pandas as pd') and proceeded to read and print the relevant file.
​
To mitigate the impact of potential data loss resulting from the removal of empty rows using 'df.dropna()', I implemented a strategic approach to handle missing values. Leveraging the 'df.fillna(value)' method, I systematically filled any identified gaps with specified values, ensuring the preservation of pertinent information. Subsequent to the execution of 'df.dropna()', a meticulous inspection confirmed the absence of empty values, thereby fortifying the integrity of the dataset.

The next phase involved the visualization process, during which I opted to challenge myself by utilizing a tool with which I am less acquainted—Tableau. While I exhibit proficiency in Power BI, I occasionally find its interface somewhat cumbersome and counterintuitive. Additionally, the limitation of not being able to share interactive screenshots without a premium/Azure subscription is a notable drawback.
​
Upon delving into Tableau, I navigated through various map options, aligning each with the distinct dataset characteristics at my disposal. For the visualization, I chose to predominantly focus on the 'Numbers' section rather than 'Minutes.' This decision was informed by the consistent projections and similar patterns evident in the majority of the available information (e.g., Chicago registering the highest delays, and Portland the least).
​
Subsequently, leveraging specific instances, as illustrated below, I crafted graphs based on the 'Number of Delays (Carrier) by Airport.' These dynamic graphs facilitate a detailed examination of delay quantities upon hovering over specific data points. Additionally, I created a symbol map to visually depict the relationship between 'Number of Delays' and 'Late Aircrafts,' aiming to discern patterns and correlations.
A noteworthy highlight of this visualization journey was the creation of a map—a feature that, owing to the absence of a premium account in Power BI, I was unable to execute.
Capitalizing on the insights derived from my Yes/No worksheet, I systematically incorporated data on the airline companies included in the report. This strategic decision enriched the visualization by providing a comprehensive representation of the aviation landscape captured in the dataset.



Considering the nature of the report, my primary objective was to imbue it with a high level of professionalism. Aesthetic considerations guided my approach, aiming for a design that is both sleek and understatedly sophisticated. Similar to my approach in a prior report, I opted to create a meticulously crafted background template in Figma, incorporating essential factoids and figures.
​
In the pursuit of visual excellence, I selected a high-quality, freely available plane stock image to serve as a foundation. Enhancing its visual appeal, I applied an embossed oval overlay, introducing depth and character to the overall composition. To establish a structured layout, I strategically positioned a title box at the top and a corresponding parameter or subtitle box below. This approach ensures a harmonious visual hierarchy within the design.
​
To further engage the audience, I integrated a dynamic element—an alternating fact box that transitions seamlessly with each respective slide. This not only imparts valuable information but also contributes to the overall fluidity and coherence of the presentation. The amalgamation of these design choices aligns with my commitment to creating a professional and visually compelling report.

Embarking on the journey of creating this report proved to be an intriguing and imaginative endeavor. The process demanded a focused exploration of data intricacies, prompting a deep dive into the nuances of airline-related statistics. Crafting a sleek and professional visual narrative in Figma was not only an exercise in design but also an imaginative endeavor, as I sought to balance simplicity with sophistication.
Navigating through Tableau and challenging myself with new tools added an extra layer of interest, fostering a heightened sense of discovery. The experience was a testament to focused attention and strategic decision-making, ensuring that each element, from the background template to dynamic fact boxes, contributed meaningfully to the overall narrative. The intersection of creativity and analytical rigor made the journey both intellectually stimulating and creatively rewarding.
Feel free to download the Excel file !
Let’s Work Together
Get in touch so we can start working together.





