Skip to content

Instantly share code, notes, and snippets.

@simboli
Created March 20, 2020 23:49
Show Gist options
  • Save simboli/d359e355e879ca4cc0eebb2a0b66a47d to your computer and use it in GitHub Desktop.
Save simboli/d359e355e879ca4cc0eebb2a0b66a47d to your computer and use it in GitHub Desktop.
df_stations['neighbours'] = df_stations.apply(lambda row: GeoClass_GetPName(Point(pd.to_numeric(row['longitude']),pd.to_numeric(row['latitude']))), axis=1) df_stations['neighbours'].unique()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment