code: def create_scipy_sparse_array_from_dask_cp_sparse_array(ar):
      """
      Creates a cpu sparse array from the given numpy array
      Will not be needed probably once we have
      https://github.com/cupy/cupy/issues/3178
      """
      meta = dask.array.from_array(
          scipy_csr_matrix(np.zeros(1, dtype=ar.dtype))
      )
      ar = ar.map_blocks(lambda x: x.get(), meta=meta)
      ar = ar.compute()
      return ar
  
file_path: cuml/python/cuml/tests/dask/test_dask_tfidf.py
imports: from sklearn.feature_extraction.text import TfidfTransformer
  from cuml.dask.feature_extraction.text import TfidfTransformer
  import dask
  import dask.array
  from cuml.internals.safe_imports import gpu_only_import_from
  from cuml.internals.safe_imports import cpu_only_import_from
  from cuml.internals.safe_imports import gpu_only_import
  import pytest
  from cuml.internals.safe_imports import cpu_only_import
label_desc: Use image node_id 4 for calling a global function with example usage: create_scipy_sparse_array_from_dask_cp_sparse_array(ar) and returns: ar