drmurataltun commited on
Commit
092e617
·
verified ·
1 Parent(s): a56f18f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -2,7 +2,8 @@ import streamlit as st
2
  from pycaret.classification import setup, compare_models, pull, save_model
3
  import pandas as pd
4
  import os
5
- import ydata_profiling
 
6
 
7
  def main():
8
  if os.path.exists('./dataset.csv'):
@@ -35,8 +36,8 @@ def file_uploader_ui():
35
 
36
  def eda_ui(df):
37
  st.title('Exploratory Data Analysis')
38
- profile_df = df.profile_report()
39
- st_profile_report(profile_df)
40
 
41
  def modelling_ui(df):
42
  target_col = st.selectbox('Choose the target column', df.columns)
 
2
  from pycaret.classification import setup, compare_models, pull, save_model
3
  import pandas as pd
4
  import os
5
+ from pandas_profiling import ProfileReport
6
+ from streamlit_pandas_profiling import st_profile_report
7
 
8
  def main():
9
  if os.path.exists('./dataset.csv'):
 
36
 
37
  def eda_ui(df):
38
  st.title('Exploratory Data Analysis')
39
+ profile = ProfileReport(df, explorative=True)
40
+ st_profile_report(profile)
41
 
42
  def modelling_ui(df):
43
  target_col = st.selectbox('Choose the target column', df.columns)