Skip to content

ENH: empty() method for EA/Series/Index #23437

Closed
@jbrockmendel

Description

@jbrockmendel

There are a few places where we need an empty array-like of the same type+dtype as self. e.g. in #23431 I used self._data[:0]. A dedicated empty() method might pretty that up.

#23431 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions