Skip to content

DatetimeIndex.resolution throws NameError #2787

@scottkidder

Description

@scottkidder

Attempting to retrieve the resolution attribute throws this exception:

34 @classmethod 35 def get_str(cls, reso): 36 return {RESO_US : 'microsecond', 37 RESO_SEC : 'second', 38 RESO_MIN: 'minute', NameError: global name 'RESO_US' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions