One place to manage, share and collaborate on data insights with your entire team.
Mapping middle schools in NYC using Folium and Pandas using Kyso!
That for: loop you are using to load the data:
for index,row in df.iterrows():
is that the most efficient way to do it? My understanding is that iterrows() can be clumsy and cause performance issues with larger datasets. I'm not too familiar with folium, but had a quick look at the documentation and it looks like it load and display entire datasets if you point it to the columns:
great proof of concept post!
Where did you get the data for this workshop?
Not sure, but wouldn't be surprised if it came from http://gis.ny.gov/gisdata/ - they have a phenomenal amount of data.
I think it would be good practice if we can encourage people to add a direct url to the data-used, it would help a lot with reproducibility...,maybe a link in the article, or a secondary file with instructions how to recreate dataset