geopandas.tools.geocode

geopandas.tools.geocode(strings, provider='googlev3', **kwargs)

Geocode a set of strings and get a GeoDataFrame of the resulting points.

Parameters:

strings : list or Series of addresses to geocode

provider : str or geopy.geocoder

Specifies geocoding service to use, default is ‘googlev3’. Either the string name used by geopy (as specified in geopy.geocoders.SERVICE_TO_GEOCODER) or a geopy Geocoder instance (e.g., geopy.geocoders.GoogleV3) may be used.

Some providers require additional arguments such as access keys See each geocoder’s specific parameters in geopy.geocoders

Ensure proper use of the results by consulting the Terms of Service for

your provider.

Geocoding requires geopy. Install it using ‘pip install geopy’. See also

https://github.com/geopy/geopy