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","."]
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._oldest_frame_idx(), 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 7 for calling the MutableIndexRollingPanel obj's underlying member method code with example usage: obj.set_current(panel) without return types