Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -477,7 +477,7 @@ if main_option == "Tabulation":
|
|
477 |
elif type1 == "Multiple answer" and type2 == "Score answer":
|
478 |
matching_cols1 = [col for col in df.columns if is_matching_pattern(col, var1)]
|
479 |
if matching_cols1:
|
480 |
-
mean_df =
|
481 |
st.subheader("Mean Table")
|
482 |
st.write(mean_df)
|
483 |
|
|
|
477 |
elif type1 == "Multiple answer" and type2 == "Score answer":
|
478 |
matching_cols1 = [col for col in df.columns if is_matching_pattern(col, var1)]
|
479 |
if matching_cols1:
|
480 |
+
mean_df = two_variable_msc(df[matching_cols1 + [var2]], matching_cols1, var2)
|
481 |
st.subheader("Mean Table")
|
482 |
st.write(mean_df)
|
483 |
|