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

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

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

        return self._cache_allDates