Skip to content

Instantly share code, notes, and snippets.

@betterdatascience
Created December 11, 2020 08:38
Show Gist options
  • Select an option

  • Save betterdatascience/37292e23333968ad2f77cf21a8b8662f to your computer and use it in GitHub Desktop.

Select an option

Save betterdatascience/37292e23333968ad2f77cf21a8b8662f to your computer and use it in GitHub Desktop.
004_folium
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