Skip to content

Add an Empty class to geometry.base #513

@sgillies

Description

@sgillies

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions