def array(self):
if self._ind < self.shape:<EOL><INDENT>return self._values[:self._ind]<EOL><DEDENT>if not self._cached:<EOL><INDENT>ind = int(self._ind % self.shape)<EOL>self._cache[:self.shape - ind] = self._values[ind:]<EOL>self._cache[self.shape - ind:] = self._values[:ind]<EOL>self._cached = True<EOL><DEDENT>return self._cache<EOL>
Returns a numpy array containing the last stored values.