code: def get_numeric_type_info(dtype):
      _TypeMinMax = namedtuple("_TypeMinMax", "min,max")
      if dtype.kind in {"i", "u"}:
          info = np.iinfo(dtype)
          return _TypeMinMax(info.min, info.max)
      elif dtype.kind == "f":
          return _TypeMinMax(dtype.type("-inf"), dtype.type("+inf"))
      else:
          raise TypeError(dtype)
  
imports: import datetime
  from collections import namedtuple
  from decimal import Decimal
  import cupy
  import numpy
  import pandas
  import pyarrow
  from pandas.core.dtypes.common import infer_dtype_from_object
  import cudf
  from cudf._typing import DtypeObj
  from cudf.api.types import is_bool, is_float, is_integer
label_desc: Use image node_id 2 for calling a global function with example usage: get_numeric_type_info(dtype) and returns: _TypeMinMax, _TypeMinMax