Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
|
|
|
| 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 |
-
|
| 39 |
-
st_profile_report(
|
| 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)
|