code: def _datetime_metadata_str(dtype):
      # TODO: this duplicates the C metastr_to_unicode functionality
      unit, count = np.datetime_data(dtype)
      if unit == "generic":
          return ""
      elif count == 1:
          return "[{}]".format(unit)
      else:
          return "[{}{}]".format(count, unit)
  
file_path: catboost/contrib/python/numpy/py3/numpy/core/_dtype.py
imports: import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: _datetime_metadata_str(dtype) and returns: str, str, str