File tree 2 files changed +7
-5
lines changed 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,7 @@ pandas 0.11.0
202
202
- Fixed bug in Timestamp(d,tz=foo) when d is date() rather then datetime() (GH2993 _)
203
203
- series.plot(kind='bar') now respects pylab color schem (GH3115 _)
204
204
- Fixed bug in reshape if not passed correct input, now raises TypeError (GH2719 _)
205
+ - Fix NameError issue on RESO_US (GH2787 _)
205
206
206
207
.. _GH2758 : https://github.com/pydata/pandas/issues/2758
207
208
.. _GH2809 : https://github.com/pydata/pandas/issues/2809
@@ -227,6 +228,7 @@ pandas 0.11.0
227
228
.. _GH2751 : https://github.com/pydata/pandas/issues/2751
228
229
.. _GH2776 : https://github.com/pydata/pandas/issues/2776
229
230
.. _GH2778 : https://github.com/pydata/pandas/issues/2778
231
+ .. _GH2787 : https://github.com/pydata/pandas/issues/2787
230
232
.. _GH2793 : https://github.com/pydata/pandas/issues/2793
231
233
.. _GH2795 : https://github.com/pydata/pandas/issues/2795
232
234
.. _GH2819 : https://github.com/pydata/pandas/issues/2819
Original file line number Diff line number Diff line change @@ -34,11 +34,11 @@ class Resolution(object):
34
34
35
35
@classmethod
36
36
def get_str (cls , reso ):
37
- return {RESO_US : 'microsecond' ,
38
- RESO_SEC : 'second' ,
39
- RESO_MIN : 'minute' ,
40
- RESO_HR : 'hour' ,
41
- RESO_DAY : 'day' }.get (reso , 'day' )
37
+ return {cls . RESO_US : 'microsecond' ,
38
+ cls . RESO_SEC : 'second' ,
39
+ cls . RESO_MIN : 'minute' ,
40
+ cls . RESO_HR : 'hour' ,
41
+ cls . RESO_DAY : 'day' }.get (reso , 'day' )
42
42
43
43
44
44
def get_reso_string (reso ):
You can’t perform that action at this time.
0 commit comments