Skip to content

Instantly share code, notes, and snippets.

@Yousuf28
Created August 27, 2019 15:45
Show Gist options
  • Select an option

  • Save Yousuf28/d84b6003e64e0a4b0bb07646befed505 to your computer and use it in GitHub Desktop.

Select an option

Save Yousuf28/d84b6003e64e0a4b0bb07646befed505 to your computer and use it in GitHub Desktop.
AI for drug discovery article in medium_ map part
lat = list(df_map["lat"])
lon =list(df_map["lng"])
name =list(df_map["name"])
# address_full = list(df_map["address"])
web = list(df_map['web'])
map = folium.Map(location=[35.199,-101.91], zoom_start=5)
fg=folium.FeatureGroup(name="My Map")
for lt,ln,nm, web in zip(lat, lon,name, web):
fg.add_child(folium.Marker(location=[lt,ln],
popup= folium.Popup(str(nm)+ " "+ "|"+ str(web)),
icon = folium.Icon()))
map.add_child(fg)
map.save("start_up_AI.html")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment