Closed
Description
>>> from pandas.tseries.frequencies import to_offset as _to_offset
>>> _to_offset('D') < _to_offset('H')
False
>>> _to_offset('D') < _to_offset('W')
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-14-77799b586280> in <module>()
----> 1 _to_offset('D') < _to_offset('W')
C:\Anaconda\lib\site-packages\pandas\tseries\offsets.pyc in f(self, other)
1873 def _tick_comp(op):
1874 def f(self, other):
-> 1875 return op(self.delta, other.delta)
1876
1877 return f
AttributeError: 'Week' object has no attribute 'delta'
>>> pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.7.final.0
python-bits: 64
OS: Windows
OS-release: 8
machine: AMD64
processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.14.0
nose: 1.3.3
Cython: 0.20.1
numpy: 1.8.1
scipy: 0.14.0
statsmodels: 0.5.0
IPython: 2.1.0
sphinx: 1.2.2
patsy: 0.2.1
scikits.timeseries: None
dateutil: 1.5
pytz: 2014.3
bottleneck: None
tables: 3.1.1
numexpr: 2.3.1
matplotlib: 1.3.1
openpyxl: 1.8.5
xlrd: 0.9.3
xlwt: 0.7.5
xlsxwriter: 0.5.5
lxml: 3.3.5
bs4: 4.3.1
html5lib: None
bq: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.4
pymysql: None
psycopg2: None