Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DatetimeIndex.resolution throws NameError #2787

Closed
scottkidder opened this issue Feb 1, 2013 · 0 comments · Fixed by #3135
Closed

DatetimeIndex.resolution throws NameError #2787

scottkidder opened this issue Feb 1, 2013 · 0 comments · Fixed by #3135
Labels
Milestone

Comments

@scottkidder
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants