File size: 522 Bytes
f360b47 ba3e45c f360b47 ba3e45c f360b47 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import streamlit as st
from utilities.template_helpers import upload_data
import pandas as pd
from pandas_profiling import ProfileReport
from streamlit_pandas_profiling import st_profile_report
import sys
def render():
st.title("DATA EXPLORATION")
col1, col2 = st.columns([2,5])
df = None
with col1.container():
df = upload_data()
if df is None:
return
st.dataframe(df.describe())
with col2.container():
pr = ProfileReport(df)
st_profile_report(pr) |