code: def issubdtype(arg1, arg2):
      r"""
      Returns True if first argument is a typecode lower/equal in type hierarchy.
  
      This is like the builtin :func:`issubclass`, but for `dtype`\ s.
  
      Parameters
      ----------
      arg1, arg2 : dtype_like
          `dtype` or object coercible to one
  
      Returns
      -------
      out : bool
  
      See Also
      --------
      :ref:`arrays.scalars` : Overview of the numpy type hierarchy.
      issubsctype, issubclass_
  
      Examples
      --------
      `issubdtype` can be used to check the type of arrays:
  
      >>> ints = np.array([1, 2, 3], dtype=np.int32)
      >>> np.issubdtype(ints.dtype, np.integer)
      True
      >>> np.issubdtype(ints.dtype, np.floating)
      False
  
      >>> floats = np.array([1, 2, 3], dtype=np.float32)
      >>> np.issubdtype(floats.dtype, np.integer)
      False
      >>> np.issubdtype(floats.dtype, np.floating)
      True
  
      Similar types of different sizes are not subdtypes of each other:
  
      >>> np.issubdtype(np.float64, np.float32)
      False
      >>> np.issubdtype(np.float32, np.float64)
      False
  
      but both are subtypes of `floating`:
  
      >>> np.issubdtype(np.float64, np.floating)
      True
      >>> np.issubdtype(np.float32, np.floating)
      True
  
      For convenience, dtype-like objects are allowed too:
  
      >>> np.issubdtype('S1', np.string_)
      True
      >>> np.issubdtype('i4', np.signedinteger)
      True
  
      """
      if not issubclass_(arg1, generic):
          arg1 = dtype(arg1).type
      if not issubclass_(arg2, generic):
          arg2 = dtype(arg2).type
  
      return issubclass(arg1, arg2)
  
imports: import numbers
  import warnings
  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, bitname, sctypes, _concrete_types, _concrete_typeinfo, _bits_of
  from ._dtype import _kind_name
  from builtins import bool, int, float, complex, object, str, bytes
  from numpy.compat import long, unicode
label_desc: Use image node_id 6 for calling a global function with example usage: issubdtype(arg1, arg2) and returns: issubclass