-
Notifications
You must be signed in to change notification settings - Fork 1
pandas 0.17.1 error: Cannot use both offset and observance #1
Description
got the following error when importing finCal in pandas 0.17.1.
NotImplementedError Traceback (most recent call last)
in ()
----> 1 from finCal import get_stock_calendar
build/bdist.linux-x86_64/egg/finCal/init.py in ()
build/bdist.linux-x86_64/egg/finCal/exchangeCalendar.py in ()
build/bdist.linux-x86_64/egg/finCal/exchangeInfo.py in ()
build/bdist.linux-x86_64/egg/finCal/holidays.py in ()
/home/test/anaconda2/lib/python2.7/site-packages/pandas/tseries/holiday.pyc in init(self, name, year, month, day, offset, observance, start_date, end_date, days_of_week)
153 """
154 if offset is not None and observance is not None:
--> 155 raise NotImplementedError("Cannot use both offset and observance.")
156
157 self.name = name
NotImplementedError: Cannot use both offset and observance.