code: def concat(objs: List):
      """
      Concat the results of partitioned dask task executions. This function guess the
          types of resulting list, then calls the corresponding native dask concat functions.
  
      Parameters
      ----------
      objs: List
          List of the partitioned dask task execution results, which will be concat.
  
      Returns
      -------
      obj:
          The concat result
  
      """
      if is_arraylike(objs[0]):
          res = array_concat(
              objs, axes=[0]
          )  # TODO: Add concat with args support
      elif any(
          (
              is_dataframe_like(objs[0]),
              is_series_like(objs[0]),
              is_index_like(objs[0]),
          )
      ):
          res = df_concat(objs)
      else:
          res = objs
      return res.compute() if is_dask_collection(res) else res
  
file_path: mars/mars/contrib/dask/utils.py
imports: from typing import List
  from dask import is_dask_collection
  from dask.array.core import _concatenate2
  from dask.dataframe import concat
  from dask.utils import is_arraylike, is_dataframe_like, is_series_like, is_index_like
  from ...remote import spawn
label_desc: Use image node_id 1 for calling a global function with example usage: concat(objs) and returns: unknown