I am trying to incorporate the streamlit-pandas profile and receive the following error:
AttributeError: ‘Element’ object has no attribute ‘component_instance’
Python Version : 3.8.3
Code Snippet :
st.sidebar.header(“Data Insigts and Profiling”)
if st.sidebar.checkbox(“Data Insights”):
if df.empty:
st.info(“Please upload a dataset”)
else:
profile = ProfileReport(df,title =“Profile Report”)
st_profile_report(profile)
Thanks in advance
Regards
Rajat Pandey