reVX.plexos.utilities.get_coord_labels

get_coord_labels(df)[source]

Retrieve the coordinate labels from df.

Parameters:

df (pd.DataFrame) – DataFrame with each row being a geo location and two columns containing coordinate labels.

Returns:

df_coord_labels (list | None) – Two entry list if coordinate labels are found: [‘lat’, ‘lon’] or [‘latitude’, ‘longitude’]