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
- pandas
- len()
- Dictionary
- function
- del
- 반복문
- list
- Python
- analizer
- IN
- append()
- nan
- dendrogram
- wcss
- count()
- DataAccess
- elbow method
- 분류 결과표
- matplotlib
- 덴드로그램
- data
- string
- 최댓값
- Machine Learning
- 최솟값
- sklearn
- DataFrame
- insert()
- numpy
- hierarchical_clustering
Archives
- Today
- Total
개발공부
[Streamlit] 좌표 정보를 지도에 표시해주는 map() 함수 본문
streamlit 라이브러리의 map()을 이용하면 위도, 경도를 받아 지도에 표시해준다.
import streamlit as st
import pandas as pd
def main():
## 스트림릿의 map 차트
df = pd.read_csv('data2/location.csv', index_col=0)
st.dataframe(df)
st.map(df)
if __name__=='__main__':
main()

'Python > Streamlit' 카테고리의 다른 글
| [Streamlit] 사용자 정의 테마 설정하기 (0) | 2022.05.26 |
|---|---|
| [Streamlit] Streamlit 이 제공하는 내장 함수로 차트 그리기 (0) | 2022.05.23 |
| [Streamlit] plotly를 이용한 차트그리기 (0) | 2022.05.23 |
| [Streamlit] matplotlib, seaborn을 이용한 차트 그리기 (0) | 2022.05.23 |
| [Streamlit] 파일 분리하여 작업하기 (0) | 2022.05.23 |