Spaces:
Sleeping
Sleeping
modified Roadmap
#2
by
ManiTeja13
- opened
- pages/RoadMap.py +139 -106
pages/RoadMap.py
CHANGED
|
@@ -1,107 +1,140 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
|
| 3 |
-
|
| 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 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
)
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
|
| 3 |
+
# Custom CSS to change the background color and add 3D arrows
|
| 4 |
+
st.markdown("""
|
| 5 |
+
<style>
|
| 6 |
+
.main {
|
| 7 |
+
background-color: #f0f2f6;
|
| 8 |
+
}
|
| 9 |
+
.separator {
|
| 10 |
+
border-top: 3px solid #bbb;
|
| 11 |
+
margin-top: 20px;
|
| 12 |
+
margin-bottom: 20px;
|
| 13 |
+
}
|
| 14 |
+
.content {
|
| 15 |
+
color: #333333;
|
| 16 |
+
}
|
| 17 |
+
.arrow {
|
| 18 |
+
font-size: 24px;
|
| 19 |
+
text-align: center;
|
| 20 |
+
margin-top: -10px;
|
| 21 |
+
margin-bottom: -10px;
|
| 22 |
+
}
|
| 23 |
+
.center-image {
|
| 24 |
+
display: block;
|
| 25 |
+
margin-left: auto;
|
| 26 |
+
margin-right: auto;
|
| 27 |
+
width: 50%;
|
| 28 |
+
}
|
| 29 |
+
</style>
|
| 30 |
+
""", unsafe_allow_html=True)
|
| 31 |
+
|
| 32 |
+
# Initialize session state
|
| 33 |
+
if 'open_expander' not in st.session_state:
|
| 34 |
+
st.session_state.open_expander = None
|
| 35 |
+
|
| 36 |
+
# Page title
|
| 37 |
+
st.title("Data Analysis Roadmap")
|
| 38 |
+
|
| 39 |
+
# Centered Image
|
| 40 |
+
st.image("images/data_analysis.png", use_column_width='always', output_format='PNG')
|
| 41 |
+
|
| 42 |
+
# Introduction
|
| 43 |
+
st.header("Introduction")
|
| 44 |
+
st.markdown("<div class='content'>This roadmap is designed for individuals with a basic understanding of Data Analysis. "
|
| 45 |
+
"It outlines the key topics and tools essential for advancing your skills in data analysis.</div>", unsafe_allow_html=True)
|
| 46 |
+
|
| 47 |
+
# Helper function to add images with 3D arrows
|
| 48 |
+
def add_skill_section(title, image_path, description, key):
|
| 49 |
+
if st.session_state.open_expander == key:
|
| 50 |
+
with st.expander(title, expanded=True):
|
| 51 |
+
st.image(image_path, width=100)
|
| 52 |
+
st.markdown(f"<div class='content'>{description}</div>", unsafe_allow_html=True)
|
| 53 |
+
st.session_state.open_expander = key
|
| 54 |
+
else:
|
| 55 |
+
with st.expander(title):
|
| 56 |
+
if st.button("Expand", key=key):
|
| 57 |
+
st.session_state.open_expander = key
|
| 58 |
+
st.experimental_rerun()
|
| 59 |
+
|
| 60 |
+
#st.markdown('<div class="arrow">⬇️</div>', unsafe_allow_html=True)
|
| 61 |
+
|
| 62 |
+
# Excel Section
|
| 63 |
+
add_skill_section("Excel", "images/excel_logo.png", """
|
| 64 |
+
Excel is a powerful tool for data manipulation and visualization. It's widely used due to its accessibility and robust features.
|
| 65 |
+
|
| 66 |
+
**Skills:**
|
| 67 |
+
- **Data Cleaning**: Removing errors and inconsistencies to ensure data quality.
|
| 68 |
+
- *Example*: Cleaning a sales dataset to remove duplicates.
|
| 69 |
+
- **Data Visualization**: Creating charts and graphs to represent data visually.
|
| 70 |
+
- *Example*: Visualizing sales trends over time with line charts.
|
| 71 |
+
- **Pivot Tables**: Summarizing data for easy analysis.
|
| 72 |
+
- *Example*: Summarizing sales by region and product.
|
| 73 |
+
- **Formulas and Functions**: Automating calculations and data manipulation.
|
| 74 |
+
- *Example*: Using VLOOKUP to combine data from multiple sheets.
|
| 75 |
+
- **Data Analysis Toolpak**: Advanced statistical analysis.
|
| 76 |
+
- *Example*: Running regression analysis on marketing data.
|
| 77 |
+
""", key="excel")
|
| 78 |
+
|
| 79 |
+
# SQL Section
|
| 80 |
+
add_skill_section("SQL", "images/sql_logo.png", """
|
| 81 |
+
SQL is essential for querying and managing databases. It's used to extract, manipulate, and analyze data stored in relational databases.
|
| 82 |
+
|
| 83 |
+
**Skills:**
|
| 84 |
+
- **Basic Queries (SELECT, INSERT, UPDATE, DELETE)**: Retrieving and modifying data.
|
| 85 |
+
- *Example*: Fetching customer information from a database.
|
| 86 |
+
- **Joins (INNER, LEFT, RIGHT, FULL)**: Combining data from multiple tables.
|
| 87 |
+
- *Example*: Joining customer and order tables to get complete order details.
|
| 88 |
+
- **Aggregations (GROUP BY, HAVING)**: Summarizing data.
|
| 89 |
+
- *Example*: Calculating total sales per region.
|
| 90 |
+
- **Subqueries and CTEs**: Writing complex queries.
|
| 91 |
+
- *Example*: Finding customers with orders above a certain amount.
|
| 92 |
+
- **Indexing and Optimization**: Improving query performance.
|
| 93 |
+
- *Example*: Adding an index to speed up search queries.
|
| 94 |
+
""", key="sql")
|
| 95 |
+
|
| 96 |
+
# Python Section
|
| 97 |
+
add_skill_section("Data Analysis Python", "images/python_logo.png", """
|
| 98 |
+
Python is a versatile language used for data analysis, offering powerful libraries for various data-related tasks.
|
| 99 |
+
|
| 100 |
+
**Skills:**
|
| 101 |
+
- **Libraries: pandas, numpy, matplotlib, seaborn**: Essential libraries for data manipulation and visualization.
|
| 102 |
+
- *Example*: Using pandas for data cleaning, matplotlib for plotting sales trends.
|
| 103 |
+
- **Data Cleaning and Preparation**: Preparing data for analysis.
|
| 104 |
+
- *Example*: Handling missing values in a dataset.
|
| 105 |
+
- **Data Visualization**: Creating detailed and interactive plots.
|
| 106 |
+
- *Example*: Creating scatter plots to visualize relationships between variables.
|
| 107 |
+
- **Statistical Analysis**: Performing statistical tests and analyses.
|
| 108 |
+
- *Example*: Running a t-test to compare means of two groups.
|
| 109 |
+
- **Automating Data Workflows**: Automating repetitive tasks.
|
| 110 |
+
- *Example*: Writing a script to fetch and process data daily.
|
| 111 |
+
""", key="python")
|
| 112 |
+
|
| 113 |
+
# Data Visualization Tools Section
|
| 114 |
+
|
| 115 |
+
add_skill_section("Power BI", "images/powerbi_logo.png", """
|
| 116 |
+
Power BI is a business analytics tool that provides interactive visualizations and business intelligence capabilities.
|
| 117 |
+
|
| 118 |
+
**Skills:**
|
| 119 |
+
- **Report Creation**: Designing detailed reports.
|
| 120 |
+
- *Example*: Creating financial reports for stakeholders.
|
| 121 |
+
- **DAX Functions**: Using Data Analysis Expressions for complex calculations.
|
| 122 |
+
- *Example*: Calculating year-over-year growth.
|
| 123 |
+
- **Data Modeling**: Structuring data for efficient analysis.
|
| 124 |
+
- *Example*: Creating a data model to analyze customer behavior.
|
| 125 |
+
""", key="powerbi")
|
| 126 |
+
|
| 127 |
+
# Statistics Section
|
| 128 |
+
add_skill_section("Statistics", "images/statistics_logo.png", """
|
| 129 |
+
Statistics form the backbone of data analysis, enabling data-driven decision-making.
|
| 130 |
+
|
| 131 |
+
**Skills:**
|
| 132 |
+
- **Descriptive Statistics (Mean, Median, Mode)**: Summarizing data.
|
| 133 |
+
- *Example*: Calculating average customer age.
|
| 134 |
+
- **Inferential Statistics (Hypothesis Testing, Confidence Intervals)**: Making predictions and generalizations.
|
| 135 |
+
- *Example*: Testing if a new marketing strategy increases sales.
|
| 136 |
+
- **Regression Analysis**: Understanding relationships between variables.
|
| 137 |
+
- *Example*: Analyzing the impact of price changes on sales volume.
|
| 138 |
+
- **Probability Theory**: Assessing risk and uncertainty.
|
| 139 |
+
- *Example*: Calculating the likelihood of customer churn.
|
| 140 |
+
""", key="statistics")
|