bpsmith / tia

Toolkit for integration and analysis
BSD 3-Clause "New" or "Revised" License
404 stars 165 forks source link

get_historical using deprecated relativedelta function #30

Open pravit726 opened 6 years ago

pravit726 commented 6 years ago

Hi, new to python and tia. Just running through the examples, it looks like get_historical() uses the relativedelta function of pandas, which has been deprecated. I get this error when I try to run it:

C:\Users\Pravit\Anaconda2\lib\site-packages\pandas\util_depr_module.pyc in getattr(self, name) 59 deprmodule = self._import_deprmod(self.deprmodto) 60 ---> 61 obj = getattr(deprmodule, name) 62 63 if self.removals is not None and name in self.removals:

AttributeError: 'module' object has no attribute 'relativedelta'