Professional Documents
Culture Documents
"Agenda" distribution
• Exploring booster
reusability
• Analyzing cost relationships
• Investigating launch site
distribution
• Data analysis is a fundamental
process in extracting valuable
insights from data. It involves
examining, cleaning,
"Introduction transforming, and visualizing
to Data data to make informed
decisions. In this presentation,
Analysis" we will explore the world of
data analysis using Pandas, a
powerful Python library, and
apply it to real-world data from
SpaceX missions.
• To perform data analysis, we
start by loading our dataset. In
"Loading this presentation, we use a
dataset containing information
the about SpaceX missions. We use
Dataset" the ‘pd.read_csv()’ function from
Pandas to load the data into a
data frame.
import pandas as pd
“Loading import matplotlib.pyplot as plt
the
# Load the CSV dataset into a
Dataset DataFrame
Code” df = pd.read_csv(r'C:\Users\Arjun\
Desktop\Space x data 1.csv')
Payload Mission
Mission Launch Launch Payload Payload Launch Booster Reusabilit Payload Cost Cost
Name Date Site Name Type Orbit Success Type y Mass (kg) (USD) (USD)
Falcon 1 -
March 24, Kwajalein Communi Single Single
Maiden RatSat LEO Failure 165 6 6.7
2006 Atoll cation Use Use
Flight
Falcon 1 - July 28, Kwajalein Single Single
FalconSat Scientific LEO Failure 165 6 6.7
FalconSat 2006 Atoll Use Use
Falcon 1 -
March 21, Kwajalein Single Single
Demoflig N/A N/A N/A Failure N/A N/A 7.5
2007 Atoll Use Use
ht 2
Earth
Falcon 1 - Septembe Kwajalein RazakSA Single Single
Observati SSO Failure 200 10 10.9
Flight 4 r 28, 2008 Atoll T Use Use
on
Falcon 1 - July 14, Kwajalein Single Single
N/A N/A N/A Failure N/A N/A 8
Flight 5 2009 Atoll Use Use
Falcon 9 -
COTS December Cape
Dragon Resupply LEO Success Reused Reused 525 50 278
Demo 8, 2010 Canaveral
Flight 1
Falcon 9 -
COTS October Cape
Dragon Resupply LEO Success Reused Reused 500 50 185
Demo 8, 2012 Canaveral
Flight 2
Falcon 9 - October Cape
Dragon Resupply LEO Success Reused Reused 400 60 197
CRS-1 7, 2012 Canaveral
"Plot 1: Launch
Success vs. Failure"
launch_success_counts = df['Launch
Success'].value_counts()
launch_success_counts.plot(kind='bar', rot=0)
plt.title('Launch Success vs. Failure')
plt.xlabel('Launch Status')
plt.ylabel('Count')
plt.xticks([0, 1], ['Failure', 'Success'])
plt.show()
"Plot 2: Payload Mass
Distribution"
2. Kaggle Datasets:
1. Website: Kaggle Datasets
2. Kaggle hosts a wide range of datasets, including space-related data, that can be used for data analysis and research.
4. Matplotlib Documentation:
1. Website: Matplotlib Documentation
2. The official documentation for Matplotlib contains detailed resources for creating data visualizations.
"Thank
You"