728x90
from os import write
import streamlit as st
import pandas as pd
def main():
df = pd.read_csv('data/iris.csv')
if st.button('데이터 보기'):
st.dataframe(df)
if __name__ == '__main__' :
main()
'Streamlit' 카테고리의 다른 글
Streamlit 실행하는 방법 streamlit run {your app}.py (0) | 2022.01.07 |
---|---|
Streamlit 스트림릿에서 라디오 버튼 처리하는 방법 (0) | 2022.01.07 |