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('')