Counting number of polygon points in shapefile using Geopandas?

المشرف العام

Administrator
طاقم الإدارة
I have a shapefile that I have loaded as a geopandas dataframe, and it has a geometry column containing polygons and multipolygons.

I have no idea how to operate on this column, though. For example, for each entry, I would like to count the number of pixels.

I played around with the 'apply' function, but to no avail....

mygeodf['geometry'].apply('sum')

أكثر...
 
أعلى