Skip to content

Clarify (or de-duplicate) to_offset vs Period._maybe_convert_freq #23475

Closed
@jbrockmendel

Description

@jbrockmendel

Period._maybe_convert_freq calls to_offset, so I guess is a strict superset of its functionality? The difference should be documented along with what use case calls for which.

Also it isn't clear that _maybe_convert_freq needs to be a class method, could just be a function.

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