Update app.py
Browse files
app.py
CHANGED
|
@@ -204,7 +204,7 @@ def create_for_bivariate_analysis(selected_files, df, i):
|
|
| 204 |
bivariate_columns = st.multiselect("Select the columns to analyse ", df.columns.values,
|
| 205 |
key= "bivariate_analysis_columns_" + str(i))
|
| 206 |
for col in bivariate_columns:
|
| 207 |
-
st.write(pd.crosstab(df[
|
| 208 |
# 3 any other aggregation function can be used based on column type
|
| 209 |
|
| 210 |
|
|
|
|
| 204 |
bivariate_columns = st.multiselect("Select the columns to analyse ", df.columns.values,
|
| 205 |
key= "bivariate_analysis_columns_" + str(i))
|
| 206 |
for col in bivariate_columns:
|
| 207 |
+
st.write(pd.crosstab(df[target_column], df[col], margins=True))
|
| 208 |
# 3 any other aggregation function can be used based on column type
|
| 209 |
|
| 210 |
|