To create a distance matrix using a list of locations and the geopy library, we can use the following code:
main.py675 chars20 lines
The output should be a pandas dataframe that shows the distance (in kilometers) between each pair of locations:
main.py557 chars7 lines
gistlibby LogSnag