krishaamer commited on
Commit
0783c6d
·
1 Parent(s): 73dad90

Delete dead code

Browse files
Files changed (1) hide show
  1. page_demographics.py +1 -5
page_demographics.py CHANGED
@@ -1,6 +1,5 @@
1
  import streamlit as st
2
  import pandas as pd
3
- from datasets import load_dataset
4
 
5
 
6
  @st.cache_data
@@ -11,9 +10,7 @@ def show(df):
11
  generate_university_ranking_table(df)
12
  show_field_of_study_ranking(df)
13
  show_mbti_ranking(df)
14
- show_boycott_count(df)
15
- show_investment_count(df)
16
-
17
 
18
  def generate_university_ranking_table(df):
19
  # Count the number of respondents for each university and sort them
@@ -65,4 +62,3 @@ def show_student_age_ranking(df):
65
 
66
  # Display the DataFrame as a table in Streamlit
67
  st.table(age_counts)
68
-
 
1
  import streamlit as st
2
  import pandas as pd
 
3
 
4
 
5
  @st.cache_data
 
10
  generate_university_ranking_table(df)
11
  show_field_of_study_ranking(df)
12
  show_mbti_ranking(df)
13
+
 
 
14
 
15
  def generate_university_ranking_table(df):
16
  # Count the number of respondents for each university and sort them
 
62
 
63
  # Display the DataFrame as a table in Streamlit
64
  st.table(age_counts)