code: def test_from_dask(ray_start_regular_shared):
      import dask.dataframe as dd
  
      df = pd.DataFrame(
          {"one": list(range(100)), "two": list(range(100))}
      )
      ddf = dd.from_pandas(df, npartitions=10)
      ds = ray.data.from_dask(ddf)
      dfds = ds.to_pandas()
      assert df.equals(dfds)
  
file_path: ray/python/ray/data/tests/test_ecosystem.py
imports: import sys
  import numpy
  import pandas
  import pyarrow
  import pytest
  import ray
  from ray.data.extensions.tensor_extension import ArrowTensorArray, ArrowTensorType, TensorArray, TensorDtype
  from ray.data.tests.conftest import *
  from ray.tests.conftest import *
label_desc: Use image node_id 1 for calling a global function with example usage: test_from_dask(ray_start_regular_shared) without return types