Skip to content

Instantly share code, notes, and snippets.

@ekhoda
Created December 27, 2019 02:33
Show Gist options
  • Save ekhoda/abf21001d75095291a3a4cacd19d67a6 to your computer and use it in GitHub Desktop.
Save ekhoda/abf21001d75095291a3a4cacd19d67a6 to your computer and use it in GitHub Desktop.
def get_lat_lon_range(df):
"""Return the range of lat and lon in the data."""
return [df['lat'].min(), df['lat'].max()], [df['lon'].min(), df['lon'].max()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment