class_docstr: Preallocation strategies for rolling window over expanding data set
  
  Restrictions: major_axis can only be a DatetimeIndex for now
class_docstr_tok: ["Preallocation","strategies","for","rolling","window","over","expanding","data","set","Restrictions",":","major_axis","can","only","be","a","DatetimeIndex","for","now"]
docstr: Set the values stored in our current in-view data to be values of the
  passed panel.  The passed panel must have the same indices as the panel
  that would be returned by self.get_current.
docstr_tok: ["Set","the","values","stored","in","our","current","in-view","data","to","be","values","of","the","passed","panel",".","The","passed","panel","must","have","the","same","indices","as","the","panel","that","would","be","returned","by","self.get_current","."]
code: def set_current(self, panel):
      """
      Set the values stored in our current in-view data to be values of the
      passed panel.  The passed panel must have the same indices as the panel
      that would be returned by self.get_current.
      """
      where = slice(self._start_index, self._pos)
      self.buffer.values[:, where, :] = panel.values
  
imports: import datetime
  from copy import deepcopy
  import numpy
  import pandas
label_desc: Use image node_id 12 for calling the RollingPanel obj's underlying member method code with example usage: obj.set_current(panel) without return types