Created
December 11, 2020 08:38
-
-
Save betterdatascience/37292e23333968ad2f77cf21a8b8662f to your computer and use it in GitHub Desktop.
004_folium
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
| quake_map = folium.Map( | |
| location=[-16.495477, 174.9663341], | |
| zoom_start=5, | |
| tiles='Stamen Terrain', | |
| width=1024, | |
| height=600 | |
| ) | |
| for _, row in df.iterrows(): | |
| folium.CircleMarker( | |
| location=[row['lat'], row['long']] | |
| ).add_to(quake_map) | |
| quake_map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment