DOMMETI commited on
Commit
33d548d
·
verified ·
1 Parent(s): bd09ec1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -65
app.py CHANGED
@@ -1,11 +1,20 @@
1
  import streamlit as st
2
- import pandas as pd
3
  st.markdown("""
4
  <style>
5
- /* Set a soft background color */
 
 
 
 
 
 
6
  body {
7
- background-color: #eef2f7;
 
 
8
  }
 
9
  /* Style for main title */
10
  h1 {
11
  color: #00FFFF;
@@ -14,6 +23,7 @@ st.markdown("""
14
  text-align: center;
15
  margin-bottom: 25px;
16
  }
 
17
  /* Style for headers */
18
  h2 {
19
  color: #FFFACD;
@@ -21,56 +31,46 @@ st.markdown("""
21
  font-weight: 600;
22
  margin-top: 30px;
23
  }
24
-
25
  /* Style for subheaders */
26
- h3 {
27
  color: #ba95b0;
28
  font-family: 'Roboto', sans-serif;
29
  font-weight: 500;
30
  margin-top: 20px;
31
  }
32
- .custom-subheader {
33
- color: #00FFFF;
34
- font-family: 'Roboto', sans-serif;
35
- font-weight: 600;
36
- margin-bottom: 15px;
37
- }
38
  /* Paragraph styling */
39
  p {
40
  font-family: 'Georgia', serif;
41
  line-height: 1.8;
42
- color: #FFFFFF; /* Darker text color for better visibility */
43
  margin-bottom: 20px;
44
  }
 
45
  /* List styling with checkmark bullets */
46
  .icon-bullet {
47
  list-style-type: none;
48
  padding-left: 20px;
49
  }
 
50
  .icon-bullet li {
51
  font-family: 'Georgia', serif;
52
  font-size: 1.1em;
53
  margin-bottom: 10px;
54
- color: #FFFFF0; /* Darker text color for better visibility */
55
  }
 
56
  .icon-bullet li::before {
57
  content: "✔️";
58
  padding-right: 10px;
59
  color: #17a2b8;
60
  }
61
- /* Sidebar styling */
62
- .sidebar .sidebar-content {
63
- background-color: #ffffff;
64
- border-radius: 10px;
65
- padding: 15px;
66
- }
67
- .sidebar h2 {
68
- color: #495057;
69
- }
70
  </style>
71
- """, unsafe_allow_html=True)
 
72
  st.title("INTRODUCTION TO DATA ANALYSIS")
73
- st.header("What does the term data refers to?")
74
  st.subheader("Data")
75
  st.markdown("""
76
  Data refers to a collection of information gathered from various sources. Here are a few examples:
@@ -82,45 +82,5 @@ st.markdown("""
82
  <li>Videos</li>
83
  <li>Audio recordings</li>
84
  </ul>
85
- """,unsafe_allow_html=True)
86
- st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/qpmLGi47ucDCWYEi8eZhE.png",caption="An Example of Data",width=400)
87
- st.header("What is Data Analysis?")
88
- st.subheader("Data Analysis")
89
- st.markdown("""Data analysis is the process of inspecting, cleansing, transforming, and modeling data with the goal of discovering useful information, drawing conclusions, and supporting decision-making
90
- based on the problem statement.This applied on various filed like business,science,health care etc""")
91
- st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/QMUIDv2eboPvohbRe2yua.png",caption="An Example of Data Analysis",width=400)
92
- st.header("Data Classification")
93
- st.subheader("Structured Data")
94
- st.markdown("""
95
- Structured data is organized and formatted, making it easy to search, analyze, and store in databases. Common examples include:
96
- <ul class="icon-bullet">
97
- <li>Excel Documents</li>
98
- <li>SQL Databases</li>
99
- </ul>
100
- """, unsafe_allow_html=True)
101
-
102
- st.image('https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/dSbyOXaQ6N_Kg2TLxgEyt.png', width=400)
103
- st.subheader("Unstructured Data")
104
- st.markdown("""
105
- Unstructured data doesn't follow a specific format and is often difficult to organize. Examples include:
106
- <ul class="icon-bullet">
107
- <li>Images</li>
108
- <li>Videos</li>
109
- <li>Text documents</li>
110
- <li>Social Media Feeds</li>
111
- </ul>
112
  """, unsafe_allow_html=True)
113
-
114
- st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/xhaNBRanDaj8esumqo9hl.png", width=400)
115
- st.subheader("Semi-Structured Data")
116
- st.markdown("""
117
- Semi-structured data contains elements of both structured and unstructured data. Examples include:
118
- <ul class="icon-bullet">
119
- <li>CSV Files</li>
120
- <li>JSON Files</li>
121
- <li>Emails</li>
122
- <li>HTML Documents</li>
123
- </ul>
124
- """, unsafe_allow_html=True)
125
-
126
- st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/Nupc6BePInRVo9gJwLfWH.png", width=400)
 
1
  import streamlit as st
2
+
3
  st.markdown("""
4
  <style>
5
+ /* Set a soft background color with gradient animation */
6
+ @keyframes gradientBackground {
7
+ 0% { background-position: 0% 50%; }
8
+ 50% { background-position: 100% 50%; }
9
+ 100% { background-position: 0% 50%; }
10
+ }
11
+
12
  body {
13
+ background: linear-gradient(270deg, #e91e63, #03a9f4, #3f51b5, #00bcd4);
14
+ background-size: 800% 800%;
15
+ animation: gradientBackground 15s ease infinite;
16
  }
17
+
18
  /* Style for main title */
19
  h1 {
20
  color: #00FFFF;
 
23
  text-align: center;
24
  margin-bottom: 25px;
25
  }
26
+
27
  /* Style for headers */
28
  h2 {
29
  color: #FFFACD;
 
31
  font-weight: 600;
32
  margin-top: 30px;
33
  }
34
+
35
  /* Style for subheaders */
36
+ h3 {
37
  color: #ba95b0;
38
  font-family: 'Roboto', sans-serif;
39
  font-weight: 500;
40
  margin-top: 20px;
41
  }
42
+
 
 
 
 
 
43
  /* Paragraph styling */
44
  p {
45
  font-family: 'Georgia', serif;
46
  line-height: 1.8;
47
+ color: #FFFFFF;
48
  margin-bottom: 20px;
49
  }
50
+
51
  /* List styling with checkmark bullets */
52
  .icon-bullet {
53
  list-style-type: none;
54
  padding-left: 20px;
55
  }
56
+
57
  .icon-bullet li {
58
  font-family: 'Georgia', serif;
59
  font-size: 1.1em;
60
  margin-bottom: 10px;
61
+ color: #FFFFF0;
62
  }
63
+
64
  .icon-bullet li::before {
65
  content: "✔️";
66
  padding-right: 10px;
67
  color: #17a2b8;
68
  }
 
 
 
 
 
 
 
 
 
69
  </style>
70
+ """, unsafe_allow_html=True)
71
+
72
  st.title("INTRODUCTION TO DATA ANALYSIS")
73
+ st.header("What does the term data refer to?")
74
  st.subheader("Data")
75
  st.markdown("""
76
  Data refers to a collection of information gathered from various sources. Here are a few examples:
 
82
  <li>Videos</li>
83
  <li>Audio recordings</li>
84
  </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  """, unsafe_allow_html=True)
86
+ st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/qpmLGi47ucDCWYEi8eZhE.png",caption="An Example of Data",width=400)