code: def _suspend_logging_for_package(package_name):
      def _suspend_logging(func):
          """hides any logs within the called func that are below warnings"""
  
          @wraps(func)
          def inner(*args, **kwargs):
              package_logger = logging.getLogger(package_name)
              previous_log_level = package_logger.getEffectiveLevel()
              try:
                  package_logger.setLevel(max(30, previous_log_level))
                  return func(*args, **kwargs)
              finally:
                  package_logger.setLevel(previous_log_level)
  
          return inner
  
      return _suspend_logging
  
file_path: autogluon/common/src/autogluon/common/utils/pandas_utils.py
imports: import logging
  import math
  from functools import wraps
  from pandas import DataFrame
  from ..features.infer_types import get_type_map_raw
  from ..features.types import R_CATEGORY, R_FLOAT, R_INT
label_desc: Use image node_id 1 for calling a global function with example usage: _suspend_logging_for_package(package_name) and returns: _suspend_logging, inner, func