Folium Choropleth + GeoJSON raises AttributeError: 'NoneType'
问题 I'm trying to do a choropleth using folium which offers a great link between GeoJSON, Pandas and leaflet. GeoJSON format is like below : { "type":"FeatureCollection", "features":[ { "type":"Feature", "geometry": { "type":"Polygon", "coordinates":[[[-1.6704591323124895,49.62681486270549], ..... { "insee":"50173", "nom":"Équeurdreville-Hainneville", "wikipedia":"fr:Équeurdreville-Hainneville", "surf_m2":12940306}}, Pandas DataFrame : postal_count.head(5) Out[98]: Code_commune_INSEE CP_count 0