In [1]:
import folium

print(folium.__file__)
print(folium.__version__)
/home/filipe/.virtualenvs/iris/lib/python2.7/site-packages/folium/__init__.py
0.2.0
In [2]:
import numpy as np

size = 1000
lons = np.random.random_integers(-180, 180, size=size)
lats = np.random.random_integers(-90, 90, size=size)

locations = list(zip(lons, lats))
popups = ['{}'.format(loc) for loc in locations]
In [3]:
from folium.plugins import MarkerCluster

mapa = folium.Map(location=[np.mean(lats), np.mean(lons)],
                  tiles='Cartodb Positron', zoom_start=1)

mapa.add_children(MarkerCluster(locations=locations, popups=popups))

mapa
Out[3]: