After reading a shapefile using the following: Using Fiona
y_data = fiona.open("example.shp")
y_data.schema
and I came across how to save it as a mat file by doing:
scipy.io.savemat("example_save.mat", y_data)
The following error showed up: TypeError: 'int' object is not subscriptable
Any hints?