geo plotting has never been so easy. thanks dhrumil patel!
download the data file here
#Import Library
import folium
import pandas as pd
#Load Data
data = pd.read_csv("hotspot.csv")
lat = data['Longitude']
lon = data['Latitude']
elevation = data['Location']
#Create base map
map = folium.Map(location=[37.296933,-121.9574983], zoom_start = 5, tiles = "Mapbox bright")
#Plot Markers
for lat, lon, elevation in zip(lat, lon, elevation):
folium.Marker(location=[lat, lon], popup=str(elevation), icon=folium.Icon(color = 'gray')).add_to(map)
#Save the map
map.save("hostspots.html")
Suggested Posts
Chat with your own data/text files using chatGPT and LangChain
There are many different approaches to chatting with your own data. One way is to upload your PDF t...
Understand langChain to Quickly Get Started with Production Codebases
LangChain is a superb library to productionize LLMs. It has few concepts which make it great. If you...
What is Perceptron in Deep Learning
Deep learning is one of the most useful and trending topics in the current world scenario, which wor...