Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def create_component_to_add_target_func(selected_files, dfs, i):
|
|
78 |
# st.text(content)
|
79 |
# st.write(f1(3))
|
80 |
|
81 |
-
def set_filtered_data(df,i):
|
82 |
action = "data_filter"
|
83 |
col_to_filter = st.selectbox("Select the field to Filter on ", df.columns.values,
|
84 |
key= action + "_col_filter_" + str(i))
|
@@ -128,7 +128,7 @@ def create_component_for_analysis_for_single_df(selected_files, dfs, i):
|
|
128 |
filter_data = st.checkbox("Analyse on Filtered Data",key="filter_data_check"+str(i))
|
129 |
|
130 |
if filter_data:
|
131 |
-
set_filtered_data(df,i)
|
132 |
|
133 |
analysis_actions = st.multiselect("What analysis do you wish to do?",
|
134 |
['Summary of Data', 'Sample Data','Get Profile' ,'Univariate Analysis',
|
|
|
78 |
# st.text(content)
|
79 |
# st.write(f1(3))
|
80 |
|
81 |
+
def set_filtered_data(df,selected_files,i):
|
82 |
action = "data_filter"
|
83 |
col_to_filter = st.selectbox("Select the field to Filter on ", df.columns.values,
|
84 |
key= action + "_col_filter_" + str(i))
|
|
|
128 |
filter_data = st.checkbox("Analyse on Filtered Data",key="filter_data_check"+str(i))
|
129 |
|
130 |
if filter_data:
|
131 |
+
set_filtered_data(df,selected_files,i)
|
132 |
|
133 |
analysis_actions = st.multiselect("What analysis do you wish to do?",
|
134 |
['Summary of Data', 'Sample Data','Get Profile' ,'Univariate Analysis',
|