Skip to content

Should ExtensionBlock.fillna unbox Series / Index? #22954

Open
@TomAugspurger

Description

@TomAugspurger

values = self.values if inplace else self.values.copy()

Should we get the ExtensionArray / ndarray backing the Series / Index at that point? As an EA author, I'd rather not have to worry about extracting the extension array from a Series in my fillna.

In the ExtensionArray.fillna docstring, we say the type can be 'arraylike'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions