The GeoPandas project needs an empty geometry type to pass to fillna(). While BaseGeometry() will work, it couples GeoPandas to Shapely internals. A class like
class Empty(BaseGeometry):
pass
would be better. It doesn't even need much of an implementation.
See #510 for background.
The GeoPandas project needs an empty geometry type to pass to
fillna(). WhileBaseGeometry()will work, it couples GeoPandas to Shapely internals. A class likewould be better. It doesn't even need much of an implementation.
See #510 for background.