Read this tutorial Browse/read the GeoPandas user guide. This will be a reference for you in this and later assignments. Docs can be good or bad. The docs for above range from "ok" to "good" ...
Welcome to the world of PyQGIS, the blending of Python and QGIS to extend and enhance your open source GIS toolbox. This book covers version 3.0 of the QGIS application programming interface (API), ...