Maheshsr commited on
Commit
a206cdc
·
1 Parent(s): 49a419a
Files changed (2) hide show
  1. pages/solution.py +6 -4
  2. requirements.txt +0 -1
pages/solution.py CHANGED
@@ -1459,10 +1459,12 @@ def data_visualize():
1459
  with st.expander(label = '**Raw Dataset**'):
1460
  display_paginated_dataframe(st.session_state['visualize_df'], "base_dataset_for_visualization")
1461
  # st.write(st.session_state['visualize_df'])
1462
- if st.button('Perform Visualizing'):
1463
- pyg_app = StreamlitRenderer(st.session_state['visualize_df'])
1464
- # Display the interactive visualization
1465
- pyg_app.explorer()
 
 
1466
  # pyg_html=pyg.walk(df).to_html()
1467
  # components.html(pyg_html, height=1000, scrolling=True)
1468
  except Exception as e:
 
1459
  with st.expander(label = '**Raw Dataset**'):
1460
  display_paginated_dataframe(st.session_state['visualize_df'], "base_dataset_for_visualization")
1461
  # st.write(st.session_state['visualize_df'])
1462
+
1463
+
1464
+ pyg_app = StreamlitRenderer(st.session_state['visualize_df'])
1465
+ # Display the interactive visualization
1466
+ pyg_app.explorer()
1467
+
1468
  # pyg_html=pyg.walk(df).to_html()
1469
  # components.html(pyg_html, height=1000, scrolling=True)
1470
  except Exception as e:
requirements.txt CHANGED
@@ -10,7 +10,6 @@ httpx==0.27.2
10
  duckdb
11
  pygwalker
12
  ydata_profiling
13
- pkg_resources
14
  streamlit-pandas-profiling
15
  plotly
16
  boto3
 
10
  duckdb
11
  pygwalker
12
  ydata_profiling
 
13
  streamlit-pandas-profiling
14
  plotly
15
  boto3