Sasidhar commited on
Commit
be8dc52
·
1 Parent(s): f0947b5

Update app.py

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