Zero_to_Hero_ML / pages /Data_Collection.py
Sathwikchowdary's picture
Update pages/Data_Collection.py
ce3f9ab verified
raw
history blame
1.76 kB
import streamlit as st
import pandas as pd
import numpy as np
import streamlit as st
custom_css = """
<style>
html, body, [data-testid="stAppViewContainer"] {
background-image: linear-gradient(
rgba(0, 0, 0, 0.6),
rgba(0, 0, 0, 0.6)
),
url("https://www.istockphoto.com/photo/tech-or-space-background-abstract-3d-illustration-gm1367865109-437999705?utm_source=pixabay&utm_medium=affiliate&utm_campaign=SRP_photo_sponsored&utm_content=https%3A%2F%2Fpixabay.com%2Fphotos%2Fsearch%2Fbackground%2520datascience%2F&utm_term=background+datascience.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
color: white; /* Ensures all text is readable */
}
h2, h3 {
color: #FFD700; /* Gold color for headings */
}
p {
color: #FFFFFF; /* White text for paragraphs */
}
</style>
"""
# Inject the CSS into the app
st.markdown(custom_css, unsafe_allow_html=True)
st.markdown("<h2 style='text-align: center; color: Black;'>๐Ÿ“Š๐Ÿ”What is Data Science</h2>", unsafe_allow_html=True)
st.markdown(
"<p style='font-size: 16px; color: White; font-style: italic;'>"
"Data Science is the practice of using data to acquire insights, solve issues, and make decisions. It combines math, statistics, programming, and domain expertise to analyze data and extract meaningful information. "
"It is a multidisciplinary field concerned with collecting knowledge and insights from structured and unstructured data using scientific methods, procedures, algorithms, and systems. Here's a detailed look at the key components of data science."
"</p>",
unsafe_allow_html=True
)