## Nearest neighbour speed tests

In my last post “How far is it to the nearest train station?” I shared some code to find the nearest neighbour for each point in a geopandas dataframe to each point in another geopandas dataframe. The bethod involved using the balltree function from sklearn. I want to generalise this method so that, for a …