I created a function to drop geocoordinates outside a shapefile. The code below works.
... import shapefile from shapely.geometry import Point from shapely.geome