I have a dataset that gives me the geographic coordinates of residential properties.
My goal is to append a new column to this dataframe that shows the properties' distances to various prominent locations in the city. I plan on doing this by finding the difference in the latitude and longitude to give X and Y values, and using the pythagorean theorem to find the straight-line distance between the two locations.
How do I structure the code so that the new column is a pythagorean function of the differences between latitude and longitude?
Thank you.