rex.utilities.utilities.get_lat_lon_cols

get_lat_lon_cols(df)[source]

Get columns that contain (latitude, longitude) coordinates

Parameters:

df (pandas.DataFrame) – DataFrame to extract coordinates (lat, lon) from

Returns:

lat_lon_cols (list) – Column names in df that correspond to the latitude and longitude coordinates. There must be a single unique set of latitude and longitude columns.