How to Solve NameError: name 'GeoDataFrame' is not defined -- geopandas
Solution: Import the 'GeoDataFrame' module
To Solve the error, add the following line to the top of your code.
from geopandas import GeoDataFrame
For more information:
Python geopandas GeoDataFrame