Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- count()
- data
- len()
- nan
- insert()
- DataFrame
- Python
- DataAccess
- Dictionary
- dendrogram
- 최댓값
- numpy
- Machine Learning
- del
- 최솟값
- pandas
- analizer
- append()
- 반복문
- hierarchical_clustering
- sklearn
- wcss
- matplotlib
- 덴드로그램
- IN
- string
- list
- elbow method
- 분류 결과표
- function
Archives
- Today
- Total
개발공부
[Streamlit] 체크 박스(Check box) 만들기 본문
Streamlit의 checkbox() 함수를 사용하면 된다.
리턴값은 True / False 이다.
import streamlit as st
def main():
if st.checkbox('체크 박스') :
st.text('체크 했습니다.')
else :
st.text('체크 해제 했습니다.')
if __name__ == '__main__':
main()


'Python > Streamlit' 카테고리의 다른 글
| [Streamlit] 멀티 셀렉트(Multiselect) 만들기 (0) | 2022.05.20 |
|---|---|
| [Streamlit] 셀렉트 박스(Select Box) 만들기 (0) | 2022.05.20 |
| [Streamlit] 라디오(Radio) 버튼 만들기 (0) | 2022.05.20 |
| [Streamlit] 버튼(Button) 만들기 (0) | 2022.05.20 |
| [Streamlit] Dataframe 출력하기 (0) | 2022.05.20 |