Untitled

From Paltry Parrot, 2 Months ago, written in Plain Text, viewed 61 times.
URL http://codebin.org/view/dcce903a Embed
Download Paste or View Raw
  1. def create_m(row):
  2.     place_type = row['category']
  3.     folium.Marker(
  4.         location=[row['lat'], row['lng']],
  5.         tooltip=place_type,
  6.         popup=f"{row['name']}"
  7.     ).add_to(m)

Reply to "Untitled"

Here you can reply to the paste above