eagle0504 commited on
Commit
5b7fadd
·
verified ·
1 Parent(s): 829c53a

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,8 +68,8 @@ st.pyplot(fig_corr)
68
  st.header("4. Impact of Categorical Variables on Average Score")
69
 
70
  def plot_and_analyze_categorical(dataframe, category_col, score_col='average_score'):
71
- # Corrected line:
72
- st.subheader(f"4.{plot_and_analyze_categorical.counter}. {category_col.replace("_", " ").title()}")
73
  plot_and_analyze_categorical.counter += 1
74
 
75
  # Violin Plot
 
68
  st.header("4. Impact of Categorical Variables on Average Score")
69
 
70
  def plot_and_analyze_categorical(dataframe, category_col, score_col='average_score'):
71
+ # Corrected line with single quotes for replace arguments
72
+ st.subheader(f"4.{plot_and_analyze_categorical.counter}. {category_col.replace('_', ' ').title()}")
73
  plot_and_analyze_categorical.counter += 1
74
 
75
  # Violin Plot