hi my dataframe was not working, any ideas? its shows 3 box with type to search
s
Hi @viswa
Could you provide additional context and the code snippet for reproducing this error.
Thanks!
any kind of dataframe i gave it will show output like this only. if same i gave as st.table it shows the data in the table format
code:
data = {
āFruitā: [āAppleā, āBananaā, āCherryā, āDateā, āElderberryā],
āQuantityā: [10, 15, 20, 25, 30],
āPriceā: [0.5, 0.25, 0.75, 1.0, 2.0]
}
df = pd.DataFrame(data)
st.write(āDataframe Formatā)
st.dataframe(df)
st.write(āTable Formatā)
st.table(df)
Works fine for me ā could you please share what version of streamlit you are using, and if there are any errors logged when running streamlit?
Yes, it functions properly for everyone else, but it does not work in my system. I was unable to make it right.
My Streamlit Version : Streamlit, version 1.29.0
No, I didnt get any errors logged. i get like this only
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://192.168.0.102:8501
The streamlit option menu is not functioning, just like the dataframe. I installed streamlit_option_menu.(pip install streamlit-option-menu)
version: streamlit-option-menu 0.3.6
code:
from streamlit_option_menu import option_menu
with st.sidebar:
selected = option_menu(āMenuā, āHomeā, āSettingsā],
icons=[āhouseā, āgearā], default_index=0)
if selected == āHomeā:
st.write(āhomeā)
else:
st.write(āsettingsā)
Could you look in your browserās developer tools and load the page and see if there are any errors shown? Here are the instructions for Chrome Chrome DevTools ą¤ą„ą¤²ą„ą¤ | Chrome for Developers
Sorry, thatās very strange ā Iāve never seen that before. You could try using a different browser, or editing your app in codespaces Develop Streamlit apps in-browser with GitHub Codespaces
I also gave it a try using Opera. Just like this, it displays the same. any firewall or configuration problems?
Could you check the network tab and see if anything was blocked?
no it was not blocked. i checked
[quote=āiamunik, post:13, topic:56916, full:trueā]
@viswa I also have this issue and I havenāt found a solution, I tried downgrading my streamlit version maybe the newer one had a faultā¦ idkā¦ but it was the same, I have used every browser I have on my system also it is the showing the same thing. Have you been able to get a solution? I have exhausted every option I have.
No, I also tried many things. For me, st.write(df) [df is Dataframe Name] given like this will work. Just try it
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.