I am trying to apply a custom function I wrote to a dataframe in order to identify the closest airport given latitude and longitude. Here is the process and the code is belo