code: def set_numexpr_threads(n=None):
      # if we are using numexpr, set the threads to n
      # otherwise reset
      if _NUMEXPR_INSTALLED and _USE_NUMEXPR:
          if n is None:
              n = ne.detect_number_of_cores()
          ne.set_num_threads(n)
  
file_path: catboost/contrib/python/pandas/py2/pandas/core/computation/expressions.py
imports: import warnings
  import numpy
  from pandas.core.dtypes.generic import ABCDataFrame
  import pandas.core.common
  from pandas.core.computation.check import _NUMEXPR_INSTALLED
  from pandas.core.config import get_option
label_desc: Use image node_id 2 for calling a global function with example usage: set_numexpr_threads(n) without return types