Skip to content

Instantly share code, notes, and snippets.



Created May 17, 2020
What would you like to do?
#!/usr/bin/env python
# coding: utf-8
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import folium
df = pd.read_csv('les-arbres-dissy-les-moulineaux-equipe-avec-un-code-qr.csv',sep=';')
tf = df['Géolocalisation'].str.split(',', expand=True)
df['GeoLattitude'] = tf[0]
df['GeoLongitude'] = tf[1]
#Coordonnées de la ville obtenues via :
map_osm=folium.Map(location=[48.816669, 2.26667], zoom_start=15)
for x,y,z in zip(df.GeoLattitude, df.GeoLongitude, df.NOM_COMMUN):
folium.Marker([float(x), float(y)], popup=z).add_to(map_osm)'Issy.html')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.