Skip to content

Add DatetimeIndex.day_of_year Method #1723

Closed
@dhirschfeld

Description

@dhirschfeld

PeriodIndex has a day_of_year method, but DatetimeIndex doesn't. This makes it hard to write generic code which can take either.

Given they both have dayofyear attributes it may be best to remove the day_of_year method so that there is only one obvious way to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RefactorInternal refactoring of code

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

        翻译: