learn-co-curriculum / nearest-neighbors-lab

Other
1 stars 28 forks source link

suspected error in pre-written portion of function #26

Open ghost opened 5 years ago

ghost commented 5 years ago

In the section under "def to marker(location)" --

times_square_marker and json.loads(times_square_marker.options)['radius'] # 6

appears to be missing a 'str' —— if I was supposed to notice and correct this, that was not clear and I don't believe I've learned the necessary folium syntax to identify that. More likely it seems an error, and should instead be:

times_square_marker and json.loads(str(times_square_marker.options['radius'])) # 6

But if I am wrong I would love to know and why…