Spaces:
Runtime error
Runtime error
File size: 612 Bytes
f66054f f67fba5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import pandas as pd
import streamlit as st
from pandas_profiling import ProfileReport
from streamlit_pandas_profiling import st_profile_report
st.set_page_config(layout='wide')
col1, col2, col3 = st.columns([15, 70, 15])
with col1:
st.write('')
with col2:
if 'df' not in st.session_state:
st.warning('Please upload a CSV file')
else:
st.header('Exploratory Data Analysis')
df = st.session_state['df']
profile = ProfileReport(df, title='Pandas Profiling Report', explorative=True,dark_mode=True)
st_profile_report(profile)
with col3:
st.write('') |