对于三人组的伙伴: plp = mate[0],mate[1],mate[2] #这里!!!!!!!!!! folium.Marker([伴侣[3], 伴侣[4]], tooltip=' '.join(map(str, plp)), 图标=folium.Icon(图标=“绿色”) ).add_to(地图)
for mate in tri:
plp = mate[0],mate[1],mate[2] #HERE!!!!!!!!!!
fixedText = ' '.join(map(str, plp))
folium.Marker([mate[3], mate[4]],
tooltip=fixedText,
icon=folium.Icon(icon="green")
).add_to(map)