code: def describe_numeric_aggregate(
      stats, name=None, is_timedelta_col=False, is_datetime_col=False
  ):
      assert len(stats) == 6
      count, mean, std, min, q, max = stats
  
      if is_series_like(count):
          typ = type(count.to_frame())
      else:
          typ = type(q)
  
      if is_timedelta_col:
          mean = pd.to_timedelta(mean)
          std = pd.to_timedelta(std)
          min = pd.to_timedelta(min)
          max = pd.to_timedelta(max)
          q = q.apply(lambda x: pd.to_timedelta(x))
  
      if is_datetime_col:
          # mean is not implemented for datetime
          min = pd.to_datetime(min)
          max = pd.to_datetime(max)
          q = q.apply(lambda x: pd.to_datetime(x))
  
      if is_datetime_col:
          part1 = typ([count, min], index=["count", "min"])
      else:
          part1 = typ(
              [count, mean, std, min],
              index=["count", "mean", "std", "min"],
          )
  
      q.index = [f"{l * 100:g}%" for l in tolist(q.index)]
      if is_series_like(q) and typ != type(q):
          q = q.to_frame()
      part3 = typ([max], index=["max"])
  
      result = concat([part1, q, part3], sort=False)
  
      if is_series_like(result):
          result.name = name
  
      return result
  
imports: from __future__ import annotations
  import warnings
  from functools import partial
  import numpy
  import pandas
  from pandas.api.types import is_extension_array_dtype
  from pandas.errors import PerformanceWarning
  from tlz import partition
  from dask.dataframe._compat import PANDAS_GE_131, PANDAS_GE_140, PANDAS_GE_200, check_apply_dataframe_deprecation, check_applymap_dataframe_deprecation, check_convert_dtype_deprecation, check_observed_deprecation
  from dask.dataframe.dispatch import concat, concat_dispatch, group_split_dispatch, hash_object_dispatch, is_categorical_dtype, is_categorical_dtype_dispatch, tolist, tolist_dispatch, union_categoricals
  from dask.dataframe.utils import is_dataframe_like, is_index_like, is_series_like
label_desc: Use image node_id 14 for calling a global function with example usage: describe_numeric_aggregate(stats, name, is_timedelta_col, is_datetime_col) and returns: result