![Image Alt Text](https://private-user-images.githubusercontent.com/75168756/256565509-7508b238-e741-4837-b7ff-a5c9be53be82.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyODEyMTIsIm5iZiI6MTcyMzI4MDkxMiwicGF0aCI6Ii83NTE2ODc1Ni8yNTY1NjU1MDktNzUwOGIyMzgtZTc0MS00ODM3LWI3ZmYtYTVjOWJlNTNiZTgyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODEwVDA5MDgzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJkNWQ0YmM0ZDZhZjk1Yjg3ODMxYWNlZmY5MWU0MTg2NDIzZmQ2ZDRkMDdlZGNhZWEzNGNjMjhjMDhkYzg4ODUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.DW6DIqmq1401FUE2GlRpLlfADgK8y7ujYMgWdI3BHjA)
This project focuses on analyzing aircraft networks using Python and various libraries like Pandas, Openpyxl, Numpy, and Matplotlib. The project aims to extract data from an Excel file, build an adjacency list representation of aircraft networks, perform Depth First Search (DFS) on the networks, and visualize the results.
Note: The original Jupyter Notebook containing the code and detailed results is not available in this repository as it was deleted before uploading to Git. However, you can view the PDF file in the repository to get an overview of the code and results.
- Introduction
- Dependencies
- Data Extraction
- Adjacency List Creation
- Depth First Search (DFS)
- Results
- Visualization
The project uses Python to analyze aircraft network data and perform network-related operations. The main tasks include:
- Reading aircraft network data from an Excel file.
- Constructing an adjacency list representation of the aircraft networks.
- Performing Depth First Search (DFS) on each aircraft's network.
- Visualizing the results with plotted graphs.
To run this project, you need to have the following Python libraries installed:
- Pandas
- Openpyxl
- Numpy
- Matplotlib
Install the required libraries using the following command:
pip install pandas openpyxl numpy matplotlib
The data is extracted from the 'dat.xlsx' file, which contains information about aircraft networks. The 'Origin City' and 'Destination City' columns are extracted and stored in separate variables for further analysis.
The project creates an adjacency list representation of the aircraft networks using the extracted 'Origin City' and 'Destination City' data. The Graph class is used to create and store the adjacency list for each aircraft/fleet.
Depth First Search is applied to each aircraft's network to traverse the nodes and generate results for each fleet.
The results of the Depth First Search (DFS) for all 25 aircraft fleets are stored in a DataFrame and saved to an Excel file named 'data.xlsx'.
The project utilizes Matplotlib to visualize the aircraft network results. The Depth First Search (DFS) results for each aircraft are plotted and displayed as graphs.
Please note that you need the 'dat.xlsx' file containing the aircraft network data in the same directory as this notebook to run the code successfully.
Feel free to explore the PDF file and experiment with the aircraft network analysis in Python!