Update pages/introds.py
Browse files- pages/introds.py +46 -38
pages/introds.py
CHANGED
@@ -1,41 +1,49 @@
|
|
1 |
-
import streamlit
|
2 |
-
import pandas
|
3 |
-
import numpy
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
<
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
<
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
<
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
|
41 |
|
|
|
1 |
+
import streamlit as st # Aliased streamlit as 'st' for consistency
|
2 |
+
import pandas as pd
|
3 |
+
import numpy as np
|
4 |
+
|
5 |
+
# Header Section
|
6 |
+
st.markdown(
|
7 |
+
"<h1 style='text-align: center; color: Black;'>DATA SCIENCE INTRODUCTION</h1>",
|
8 |
+
unsafe_allow_html=True
|
9 |
+
)
|
10 |
+
|
11 |
+
# Main Content Section
|
12 |
+
st.markdown(
|
13 |
+
"""
|
14 |
+
<h2 style='color: Black;'>What is Data Science</h2>
|
15 |
+
|
16 |
+
<div class="section">
|
17 |
+
<h2>What is Data Science?</h2>
|
18 |
+
<p>
|
19 |
+
It combines techniques from statistics, computer science, mathematics, and domain expertise to analyze and interpret data effectively.
|
20 |
+
In essence, data science transforms raw data into actionable insights, driving smarter decisions across industries.
|
21 |
+
There are several types of applications, as explained below:
|
22 |
+
</p>
|
23 |
+
<ul>
|
24 |
+
<li>Analyzing customer reviews to identify product sentiment</li>
|
25 |
+
<li>Techniques Used: Natural Language Processing (NLP), sentiment analysis.</li>
|
26 |
+
<li>Optimizing delivery routes for logistics companies</li>
|
27 |
+
<li>Techniques Used: Graph algorithms, optimization techniques.</li>
|
28 |
+
</ul>
|
29 |
+
</div>
|
30 |
+
|
31 |
+
<div class="section">
|
32 |
+
<h2>Few Important Steps in Data Science</h2>
|
33 |
+
<p>
|
34 |
+
Data Science involves several steps, such as:
|
35 |
+
</p>
|
36 |
+
<ul>
|
37 |
+
<li><strong>Understanding the Given Problem:</strong> First, you need to understand the type of problem you are addressing.</li>
|
38 |
+
<li><strong>Data Collection:</strong> Gather relevant data from various sources to address the defined problem.</li>
|
39 |
+
<li><strong>Data Cleaning and Preprocessing:</strong> Prepare the raw data for analysis by handling inconsistencies, missing values, and errors.</li>
|
40 |
+
<li><strong>Exploratory Data Analysis (EDA):</strong> Gain an initial understanding of the data's main characteristics through visualization and summary statistics.</li>
|
41 |
+
<li><strong>Deployment:</strong> Implement the model into a production environment where it can provide actionable insights or make decisions in real-time.</li>
|
42 |
+
</ul>
|
43 |
+
</div>
|
44 |
+
""",
|
45 |
+
unsafe_allow_html=True
|
46 |
+
)
|
47 |
|
48 |
|
49 |
|