I have a pandas dataframe of the form:
pandas dataframe
benchmark_x benchmark_y ref_point_x ref_point_y 0 525039.140 175445.518 525039.145 175445.539 1 525