You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with open(t.src) as t:
components.html(t.read(), width=900, height=1000, scrolling=True)`
When trying this example I get this error : ImportError: cannot import name 'pivot_ui' from partially initialized module 'pivottablejs' (most likely due to a circular import)
I tested it without streamlit and resulted in the save error : I tested in .py file and jupyter notebook
Thanks for an answer
The text was updated successfully, but these errors were encountered:
'import streamlit as st
import streamlit.components.v1 as components
from pivottablejs import pivot_ui
import pandas as pd
iris = pd.read_csv(
"https://raw.githubusercontent.com/mwaskom/seaborn-data/master/iris.csv"
)
t = pivot_ui(iris)
with open(t.src) as t:
components.html(t.read(), width=900, height=1000, scrolling=True)`
When trying this example I get this error : ImportError: cannot import name 'pivot_ui' from partially initialized module 'pivottablejs' (most likely due to a circular import)
I tested it without streamlit and resulted in the save error : I tested in .py file and jupyter notebook
Thanks for an answer
The text was updated successfully, but these errors were encountered: