class_docstr: Object to hold scope, with a few bells to deal with some custom syntax
  and contexts added by pandas.
  
  Parameters
  ----------
  level : int
  global_dict : dict or None, optional, default None
  local_dict : dict or Scope or None, optional, default None
  resolvers : list-like or None, optional, default None
  target : object
  
  Attributes
  ----------
  level : int
  scope : DeepChainMap
  target : object
  temps : dict
class_docstr_tok: ["Object","to","hold","scope",",","with","a","few","bells","to","deal","with","some","custom","syntax","and","contexts","added","by","pandas",".","Parameters","--","--","--","--","--","level",":","int","global_dict",":","dict","or","None",",","optional",",","default","None","local_dict",":","dict","or","Scope","or","None",",","optional",",","default","None","resolvers",":","list-like","or","None",",","optional",",","default","None","target",":","object","Attributes","--","--","--","--","--","level",":","int","scope",":","DeepChainMap","target",":","object","temps",":","dict"]
docstr: Update the current scope by going back `level` levels.
  
  Parameters
  ----------
  level : int
docstr_tok: ["Update","the","current","scope","by","going","back","`","level","`","levels",".","Parameters","--","--","--","--","--","level",":","int"]
code: def _update(self, level: int) -> None:
      """
      Update the current scope by going back `level` levels.
  
      Parameters
      ----------
      level : int
      """
      sl = level + 1
  
      # add sl frames to the scope starting with the
      # most distant and overwriting with more current
      # makes sure that we can capture variable scope
      stack = inspect.stack()
  
      try:
          self._get_vars(stack[:sl], scopes=["locals"])
      finally:
          del stack[:], stack
  
imports: from __future__ import annotations
  import datetime
  import inspect
  from io import StringIO
  import itertools
  import pprint
  import struct
  import sys
  from typing import ChainMap, TypeVar
  import numpy
  from pandas._libs.tslibs import Timestamp
  from pandas.errors import UndefinedVariableError
label_desc: Use image node_id 7 for calling the Scope obj's underlying member method code with example usage: obj._update(level) without return types