행위

"Python streamlit dashboard"의 두 판 사이의 차이

DB CAFE

(Streamlit 샘플)
(Streamlit 샘플)
16번째 줄: 16번째 줄:
 
<source lang=python>
 
<source lang=python>
 
streamlit run app.py  
 
streamlit run app.py  
 +
</source>
 +
 +
== 문자열 관련 ==
 +
<source lang=sql>
 +
import streamlit as st
 +
 +
# 타이틀
 +
st.title('this is title')
 +
# 헤더
 +
st.header('this is header')
 +
# 서브헤더
 +
st.subheader('this is subheader')
 
</source>
 
</source>

2024년 7월 11일 (목) 18:51 판

thumb_up 추천메뉴 바로가기


1 파이썬 Streamlit 대시보드 개발[편집]

1.1 설치[편집]

1.2 실행 방법[편집]

streamlit run test.py

1.3 Streamlit 샘플[편집]

  • 샘플 소스
import streamlit as st
st.title('Hello Streamlit')
  • 실행
streamlit run app.py

1.4 문자열 관련[편집]

import streamlit as st

# 타이틀
st.title('this is title')
# 헤더 
st.header('this is header')
# 서브헤더
st.subheader('this is subheader')