code: def get_dtype_kinds(l):
      """
      Parameters
      ----------
      l : list of arrays
  
      Returns
      -------
      a set of kinds that exist in this list of arrays
      """
  
      typs = set()
      for arr in l:
          dtype = arr.dtype
          if is_categorical_dtype(dtype):
              typ = "category"
          elif is_sparse(arr):
              typ = "sparse"
          elif isinstance(arr, ABCRangeIndex):
              typ = "range"
          elif is_datetime64tz_dtype(arr):
              # if to_concat contains different tz,
              # the result must be object dtype
              typ = str(arr.dtype)
          elif is_datetime64_dtype(dtype):
              typ = "datetime"
          elif is_timedelta64_dtype(dtype):
              typ = "timedelta"
          elif is_object_dtype(dtype):
              typ = "object"
          elif is_bool_dtype(dtype):
              typ = "bool"
          elif is_extension_array_dtype(dtype):
              typ = str(arr.dtype)
          else:
              typ = dtype.kind
          typs.add(typ)
      return typs
  
file_path: catboost/contrib/python/pandas/py2/pandas/core/dtypes/concat.py
imports: import numpy
  from pandas._libs import tslib, tslibs
  from pandas.core.dtypes.common import _NS_DTYPE, _TD_DTYPE, is_bool_dtype, is_categorical_dtype, is_datetime64_dtype, is_datetime64tz_dtype, is_dtype_equal, is_extension_array_dtype, is_object_dtype, is_sparse, is_timedelta64_dtype
  from pandas.core.dtypes.generic import ABCDatetimeArray, ABCDatetimeIndex, ABCIndexClass, ABCPeriodIndex, ABCRangeIndex, ABCSparseDataFrame, ABCTimedeltaIndex
  from pandas import compat
label_desc: Use image node_id 1 for calling a global function with example usage: get_dtype_kinds(l) and returns: typs