Skip to content

offsets pickle issues #17313

Closed
Closed
@jbrockmendel

Description

@jbrockmendel

I'm overhauling tseries.offsets and finding a handful of workarounds that are in place "for prior pickles". How important are these? This process would be appreciably simpler if I could ignore those.

Related:

class MonthOffset(SingleConstructorOffset):
    _adjust_dst = True

    @property
    def name(self):
        if self.isAnchored:
            return self.rule_code
        else:
            return "%s-%s" % (self.rule_code, _int_to_month[self.n])

isAnchored is a method, not a property, so this is probably intended to be if self.isAnchored().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Compatpandas objects compatability with Numpy or Python functions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions