Skip to content

API: Consider porting extension accessor from xarray #14781

Closed
@chris-b1

Description

@chris-b1

xarray provides a decorator to register a custom accessor on a Dataset - see docs here.

It's a bit of a blunt tool, in that it applies to all instances, but outside of that, I found it to be a nice alternative to subclassing or a composition class.

I haven't looked at the implementation, so not sure how hard it would be retrofit onto DataFrame

@shoyer - any thoughts or feedback from people using it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    API DesignNeeds DiscussionRequires discussion from core team before further action

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions