I am new to python and hoping I can get some direction on here. I'm having a hard time plotting multiple data points with marker on the world map in Folium.
The goal of this small project is to pinpoint each person on the map according to their longitude and latitude of their birthplace.
The popup will include their name, job title, and age. The error gave me was the error message is KeyError: 'lat, lon'. I have tried to create a csv file and build a dataFrame out of the data but seems like I'm not doing this correctly.
This is the dataframe I created: List in a dictionary
KeyError: 'lat,lon'
Another way I tried was to create a csv file:
data = pd.read_csv(data)
and I used the same syntax as above: map=...
and it gave me the same error: Keyerror: 'lat,lon'. So I'm stuck now. Looking forward to some help. Thanks.