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