I would like to set up range of reading by shapefile.Reader. I couldn't find any suitable documentation. I would like to read rows 0-100. In Pandas or GeoPandas I use df.iloc[0:100], but what should I use here?
Code:
with shapefile.Reader(shapefile_path) as shp: total_rows = shp.numRecords for row_num, row in enumerate(shp.iterRecords()): print(row)