Skip to content

Instantly share code, notes, and snippets.

@ageller
Last active December 21, 2021 14:47
Show Gist options
  • Save ageller/5cb67ef4653aec3dd3e56c9097e37dfa to your computer and use it in GitHub Desktop.
Save ageller/5cb67ef4653aec3dd3e56c9097e37dfa to your computer and use it in GitHub Desktop.
example converting to geopandas to plot points
gdf1 = gpd.GeoDataFrame(df, geometry = gpd.points_from_xy(df['LONGITUDE'], df['LATITUDE']))
gdf1.iloc[0:100].plot(ax = ax, color = 'blue', markersize = 1.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment