Skip to content

Ready for Deployment: Bug-Free Streamlit App Pull Request #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added streamlit/__pycache__/functions.cpython-311.pyc
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions streamlit/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

data = pd.read_csv('df2020.csv')
df2018 = pd.read_csv('df2018.csv')
full_data2018 = pd.read_csv('../Data/survey_results_public_2018.csv')
full_data2019=pd.read_csv('../Data/survey_results_public_2019.csv')
full_df2020 = pd.read_csv('../Data/survey_results_public_2020.csv')
full_data2018 = pd.read_csv('survey_results_sample_2018.csv')
full_data2019=pd.read_csv('survey_results_sample_2019.csv')
full_df2020 = pd.read_csv('survey_results_sample_2020.csv')
df2019 = pd.read_csv('df2019.csv')
df2020 = data[(data['SalaryUSD'] < 200000)]

Expand Down
200 changes: 91 additions & 109 deletions streamlit/home.py

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions streamlit/main_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

data = pd.read_csv('df2020.csv')
df2018 = pd.read_csv('df2018.csv')
full_data2018 = pd.read_csv('../Data/survey_results_public_2018.csv')
full_data2019=pd.read_csv('../Data/survey_results_public_2019.csv')
full_df2020 = pd.read_csv('../Data/survey_results_public_2020.csv')
full_data2018 = pd.read_csv('survey_results_sample_2018.csv')
full_data2019=pd.read_csv('survey_results_sample_2019.csv')
full_df2020 = pd.read_csv('survey_results_sample_2020.csv')
df2019 = pd.read_csv('df2019.csv')
df2020 = data[(data['SalaryUSD'] < 200000)]

Expand Down
3 changes: 3 additions & 0 deletions requirements.txt → streamlit/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
streamlit
pandas
plotly
pycountry
scipy
numpy
5 changes: 2 additions & 3 deletions streamlit/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
margin-bottom: 110px;
}

.analysis-container-extra
{
.analysis-container-extra {
font-family: 'Courier New', Courier, monospace;
background-color: #D8DEDF;
padding: 15px;
Expand All @@ -28,4 +27,4 @@
font-size: 15px;
font-weight: medium;
color: #000A0C;
}
}
100 changes: 100 additions & 0 deletions streamlit/survey_results_sample_2018.csv

Large diffs are not rendered by default.

100 changes: 100 additions & 0 deletions streamlit/survey_results_sample_2019.csv

Large diffs are not rendered by default.

100 changes: 100 additions & 0 deletions streamlit/survey_results_sample_2020.csv

Large diffs are not rendered by default.

Loading