I have a a dataframe of polygons in GeoPandas/shapely. Most of them are valid, and remaining invalid polygons can be removed with ".is_valid" command. However, some polygons are in theory valid, but in practice useless.
My issue is the case in the image below. The polygon consists of 3 vertices, but one vertex is, all but, on the line with the other points. Is there a way I can mark this polygon as invalid and remove it? I know the QGIS Fix Geometries is able to identify this issue. I can do a quick fix by using the polygon area and removing under a threshold, but I was hoping there is a more elegant solution to detect this.