Exemple #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)
Exemple #2
0
    def _allDates(self):
        if not hasattr(self, '_cache_allDates'):
            self._cache_allDates = _tseries.isAllDates(self)

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

        return self._cache_allDates
Exemple #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)
Exemple #5
0
    def _allDates(self):
        if not hasattr(self, "_cache_allDates"):
            self._cache_allDates = _tseries.isAllDates(self)

        return self._cache_allDates