

def add_frame(self, tick, frame, minor_axis=None, items=None):
    '\n        '
    if (self._pos == self.cap):
        self._roll_data()
    values = frame
    if isinstance(frame, pd.DataFrame):
        values = frame.values
    self.buffer.values[:, self._pos, :] = values.astype(self.dtype)
    self.date_buf[self._pos] = tick
    self._pos += 1

dataset/ETHPy150Open quantopian/zipline/zipline/utils/data.py RollingPanel.add_frame/original