code: def maximum_sctype(t):
      """
      Return the scalar type of highest precision of the same kind as the input.
  
      .. deprecated:: 2.0
          Use an explicit dtype like int64 or float64 instead.
  
      Parameters
      ----------
      t : dtype or dtype specifier
          The input data type. This can be a `dtype` object or an object that
          is convertible to a `dtype`.
  
      Returns
      -------
      out : dtype
          The highest precision data type of the same kind (`dtype.kind`) as `t`.
  
      See Also
      --------
      obj2sctype, mintypecode, sctype2char
      dtype
  
      Examples
      --------
      >>> from numpy._core.numerictypes import maximum_sctype
      >>> maximum_sctype(int)
      <class 'numpy.int64'>
      >>> maximum_sctype(np.uint8)
      <class 'numpy.uint64'>
      >>> maximum_sctype(complex)
      <class 'numpy.complex256'> # may vary
  
      >>> maximum_sctype(str)
      <class 'numpy.str_'>
  
      >>> maximum_sctype('i2')
      <class 'numpy.int64'>
      >>> maximum_sctype('f4')
      <class 'numpy.float128'> # may vary
  
      """
  
      # Deprecated in NumPy 2.0, 2023-07-11
      warnings.warn(
          "`maximum_sctype` is deprecated. Use an explicit dtype like int64 "
          "or float64 instead. (deprecated in NumPy 2.0)",
          DeprecationWarning,
          stacklevel=2,
      )
  
      g = obj2sctype(t)
      if g is None:
          return t
      t = g
      base = _kind_name(dtype(t))
      if base in sctypes:
          return sctypes[base][-1]
      else:
          return t
  
imports: import numbers
  import warnings
  from .None import multiarray
  from .multiarray import ndarray, array, dtype, datetime_data, datetime_as_string, busday_offset, busday_count, is_busday, busdaycalendar
  from .._utils import set_module
  from ._string_helpers import english_lower, english_upper, english_capitalize, LOWER_TABLE, UPPER_TABLE
  from ._type_aliases import sctypeDict, allTypes, sctypes
  from ._dtype import _kind_name
  from builtins import bool, int, float, complex, object, str, bytes
label_desc: Use image node_id 1 for calling a global function with example usage: maximum_sctype(t) and returns: t, sctypes, t