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: Add a temporary variable to the scope.
  
  Parameters
  ----------
  value : object
      An arbitrary object to be assigned to a temporary variable.
  
  Returns
  -------
  str
      The name of the temporary variable created.
docstr_tok: ["Add","a","temporary","variable","to","the","scope",".","Parameters","--","--","--","--","--","value",":","object","An","arbitrary","object","to","be","assigned","to","a","temporary","variable",".","Returns","--","--","--","-","str","The","name","of","the","temporary","variable","created","."]
code: def add_tmp(self, value) -> str:
      """
      Add a temporary variable to the scope.
  
      Parameters
      ----------
      value : object
          An arbitrary object to be assigned to a temporary variable.
  
      Returns
      -------
      str
          The name of the temporary variable created.
      """
      name = f"{type(value).__name__}_{self.ntemps}_{_raw_hex_id(self)}"
  
      # add to inner most scope
      assert name not in self.temps
      self.temps[name] = value
      assert name in self.temps
  
      # only increment if the variable gets put in the scope
      return name
  
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 8 for calling the Scope obj's underlying member method code with example usage: obj.add_tmp(value) and returns: name