Srikanth0804 commited on
Commit
62a2e17
·
verified ·
1 Parent(s): f10796e

Create pages/2_Data_Understanding.py

Browse files
Files changed (1) hide show
  1. pages/2_Data_Understanding.py +35 -0
pages/2_Data_Understanding.py ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ st.title("📊 Data Collection & Data Understanding")
4
+
5
+ st.markdown("""
6
+ ## 📥 Data Collection:
7
+ The dataset used in this project was collected from an online source containing historical flight price data for various airlines.
8
+
9
+ ### Dataset Features:
10
+ - **Airline:** Name of the airline company.
11
+ - **Source City:** The departure city.
12
+ - **Departure Time:** Scheduled time of departure.
13
+ - **Stops:** Number of stops in the flight.
14
+ - **Arrival Time:** Scheduled arrival time.
15
+ - **Destination City:** The destination city.
16
+ - **Class:** Class of the flight (Economy/Business).
17
+ - **Duration:** Total travel duration (in hours).
18
+ - **Days Left:** Number of days between the booking date and the flight date.
19
+ - **Price:** Target variable — flight ticket price.
20
+
21
+ ---
22
+
23
+ ## 📚 Key Understanding:
24
+ - **Data Type:** Mix of categorical and numerical variables.
25
+ - **Data Size:** Contains several thousand records.
26
+ - **Target Variable:** Flight Ticket Price.
27
+
28
+ The next step is to explore the dataset through Exploratory Data Analysis (EDA).
29
+ """)
30
+
31
+ if st.button('Next'):
32
+ st.switch_page('pages/3_EDA.py')
33
+
34
+ if st.button('Go to Problem Statement'):
35
+ st.switch_page('pages/1_Problem_Statement.py')