File size: 253 Bytes
dee4d19
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
from pandas_profiling import ProfileReport
from streamlit_pandas_profiling import st_profile_report
import streamlit as st

@st.cache_resource
def get_profile(data, config):
    profile_df = ProfileReport(data, config_file=config)
    return profile_df