我想拿到會匯集點的經緯度有辦法嗎
想請問各位有沒有答案
像是2156那個匯集點
怎麼抓
程式碼---------------------------------------------------------------------
import folium
import pandas as pd
import os
df_address=pd.read_csv(r'123.csv',encoding='big5')
df_address=df_address[df_address['緯度'].notnull()]
m0=folium.Map([25.039881,121.431235],zoom_start=15)
from folium.plugins import MarkerCluster
marker_cluster=MarkerCluster().add_to(m0)
for index,row in df_address.iterrows():
information='通訊地址: '+str(row['地址'])+'<br>'+"經度: "+str(row['經度'])
folium.Marker(location=[row['緯度'],row['經度']],tooltip=information,).add_to(marker_cluster)
m0.save(os.path.join(r'C:\Users\alan\Desktop','route2.html'))