Created
August 27, 2019 15:45
-
-
Save Yousuf28/d84b6003e64e0a4b0bb07646befed505 to your computer and use it in GitHub Desktop.
AI for drug discovery article in medium_ map part
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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