Streamlit Shorts: How to make a select box

  Рет қаралды 9,524

Streamlit

Streamlit

2 жыл бұрын

In this video, you'll learn how to use the st.selectbox command, which displays a selection widget for users to choose from a list of possible elements. 🎈
Note: Please correct "import numpy as st" to "import numpy as np".
📄 Docs: docs.streamlit.io/library/api...
💡 Have an idea for a short? Let us know below!
#DataScience #LearnDataScience #Python #Tutorial

Пікірлер: 7
@nguyettran6118
@nguyettran6118 Жыл бұрын
hi, how can we make the default selection to show all data, not only the first?
@mustafayalcn6604
@mustafayalcn6604 Жыл бұрын
hi. could you explain please , col1,mid,col2=st.columns([1,0.1,3]) ,i ve tried but did not understand [1,0.1,3]. thanks
@user-uy2kt4mo3r
@user-uy2kt4mo3r 7 ай бұрын
I want options=list[Object], each option is Object.field, but it cannot be achieved
@bsnsn
@bsnsn 2 жыл бұрын
There is a typo on your import statement: Import numpy as np
@streamlitofficial
@streamlitofficial 2 жыл бұрын
Hey Bert, Thank you for pointing this out! Will add the correction to the description. 🎈
@willingoYT
@willingoYT Жыл бұрын
It is not clear to me what line 25 is doing or why we used the context manager "with col1".
@willingoYT
@willingoYT Жыл бұрын
OK so st.columns creates a visual container of columns where the columns' widths is the list passed in, and I guess only col1 is used here.
Session State basics
9:12
Streamlit
Рет қаралды 19 М.
Streamlit Crash Course: From Zero to Data App
24:40
Streamlit
Рет қаралды 1,6 М.
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 40 МЛН
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 77 МЛН
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 35 МЛН
Streamlit Elements You Should Know About in 2023
14:31
Mısra Turp
Рет қаралды 91 М.
1/4: What is Streamlit
8:34
Streamlit
Рет қаралды 87 М.
The Streamlit Epic Overview (part 1/2)
13:06
Fanilo Andrianasolo
Рет қаралды 52 М.
Adding Interactive Plotly Charts to a Streamlit App
9:02
Andy McDonald
Рет қаралды 22 М.
How to use st.write and magic commands
8:51
Streamlit
Рет қаралды 5 М.
How to make NESTED buttons in Streamlit with Session State
3:51
Fanilo Andrianasolo
Рет қаралды 17 М.
How to explore data in Python with PyGWalker and Streamlit
16:04