I have a dataframe (pd) where each row contains a bunch of measures, as well as latitude and longitude values. I can convert those into geopandas points if needed.
From this dataframe, I would like to select only rows that fall within a certain (let's say 1km) radius from a new given lat/long.
Is there a wise way to go about this problem?
Here's a data sample from the df:
id . lat . long . polution . label
----------------------------------------
3 . 45.467. -79.51 . 7 . 'nice'
7 . 45.312. -79.56 . 8 . 'mediocre'
a sample lat/long would be lat = 45.4 and long = -79.5.