Example #1
0
 def __setstate__(self, state):
     """Necessary for making this object picklable"""
     np.ndarray.__setstate__(self, state)
     self._cache_indexMap = _tseries.map_indices(self)
     self._cache_allDates = _tseries.isAllDates(self)
Example #2
0
    def _allDates(self):
        if not hasattr(self, '_cache_allDates'):
            self._cache_allDates = _tseries.isAllDates(self)

        return self._cache_allDates
Example #3
0
    def _allDates(self):
        if not hasattr(self, '_cache_allDates'):
            self._cache_allDates = isAllDates(self)

        return self._cache_allDates
Example #4
0
 def __setstate__(self,state):
     """Necessary for making this object picklable"""
     np.ndarray.__setstate__(self, state)
     self._cache_indexMap = map_indices(self)
     self._cache_allDates = isAllDates(self)
Example #5
0
    def _allDates(self):
        if not hasattr(self, "_cache_allDates"):
            self._cache_allDates = _tseries.isAllDates(self)

        return self._cache_allDates