I have a dataframe that looks like this:
lat | lon | time |
---|---|---|
45.23 | 81.3459 | 2021-04-25 12:31:15 |
45.265 | 81.346 | 2021-04-25 12:33:46 |
45.278 | 81.347 | 2021-04-25 12:40:23 |
....... | ......... | .................... |
I have thousands of rows in the dataFrame. What I want to do is find the distance of each point from the first point, i.e. (45.23, 81.3459)
, but I'm stumped trying to figure out how to do it. I figure geodesic
should do the trick, no?
Any suggestions would be great!