Skip to content

Deprecate offset property of Timestamp #6815

@jtratner

Description

@jtratner
Contributor

Weird to deprecate offset keyword argument and not offset property. See #6813 for more context. If we do this, need to:

  1. Add getter/setter/deleter property that warns on usage.
  2. Migrate all code that refers to Timestamp.offset to use Timestamp.freq instead.

Then we could remove a few versions from now (hopefully pre-1.0)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jreback@jtratner

        Issue actions

          Deprecate `offset` property of `Timestamp` · Issue #6815 · pandas-dev/pandas