class_docstr: A version of RollingPanel that exists for backwards compatibility with
  batch_transform. This is a copy to allow behavior of RollingPanel to drift
  away from this without breaking this class.
  
  This code should be considered frozen, and should not be used in the
  future. Instead, see RollingPanel.
class_docstr_tok: ["A","version","of","RollingPanel","that","exists","for","backwards","compatibility","with","batch_transform",".","This","is","a","copy","to","allow","behavior","of","RollingPanel","to","drift","away","from","this","without","breaking","this","class",".","This","code","should","be","considered","frozen",",","and","should","not","be","used","in","the","future",".","Instead",",","see","RollingPanel","."]
code: def __init__(
      self, window, items, sids, cap_multiple=2, dtype=np.float64
  ):
      self._pos = 0
      self._window = window
  
      self.items = _ensure_index(items)
      self.minor_axis = _ensure_index(sids)
  
      self.cap_multiple = cap_multiple
      self.cap = cap_multiple * window
  
      self.dtype = dtype
      self.date_buf = np.empty(self.cap, dtype="M8[ns]")
  
      self.buffer = self._create_buffer()
  
imports: import datetime
  from copy import deepcopy
  import numpy
  import pandas
label_desc: Use image node_id 1 to create a new MutableIndexRollingPanel object from inherited base classes: object with example: obj = MutableIndexRollingPanel(window, items, sids, cap_multiple, dtype)