This lesson is still being designed and assembled (Pre-Alpha version)

Explore and Plot by Shapefile Attributes


Teaching: 40 min
Exercises: 20 min
  • How can I compute on the attributes of a spatial object?

  • Query attributes of a spatial object.

  • Subset spatial objects using specific attribute values.

  • Plot a shapefile, colored by unique attribute values.


Key Points

  • A GeoDataFrame in geopandas is similar to standard pandas data frames and can be manipulated using the same functions.

  • Almost any feature of a plot can be customized using the various functions and options in the matplotlib package.