CosmickVisions commited on
Commit
1476a1d
·
verified ·
1 Parent(s): 2244012

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -14,6 +14,8 @@ import re
14
  from pydantic_settings import BaseSettings # Fix: import from pydantic_settings
15
  # pandas_profiling import and fix
16
  from ydata_profiling import ProfileReport
 
 
17
 
18
  import streamlit as st
19
  import numpy as np
@@ -300,7 +302,6 @@ elif app_mode == "Smart Cleaning":
300
  # Data Health Dashboard with Cards
301
  st.subheader("📊 Data Health Dashboard")
302
  with st.expander("Show Comprehensive Data Report", expanded=True):
303
- from pandas_profiling import ProfileReport
304
  pr = ProfileReport(df, title="Smart Cleaning Data Report") # Add title to pandas profiling report
305
  st_profile_report(pr)
306
 
 
14
  from pydantic_settings import BaseSettings # Fix: import from pydantic_settings
15
  # pandas_profiling import and fix
16
  from ydata_profiling import ProfileReport
17
+ from streamlit_pandas_profiling import st_profile_report
18
+
19
 
20
  import streamlit as st
21
  import numpy as np
 
302
  # Data Health Dashboard with Cards
303
  st.subheader("📊 Data Health Dashboard")
304
  with st.expander("Show Comprehensive Data Report", expanded=True):
 
305
  pr = ProfileReport(df, title="Smart Cleaning Data Report") # Add title to pandas profiling report
306
  st_profile_report(pr)
307