code: def test_get_dummies_execution(setup):
      raw = pd.DataFrame(
          {
              "a": [1.1, 2.1, 3.1],
              "b": ["5", "-6", "-7"],
              "c": [1, 2, 3],
              "d": ["2", "3", "4"],
          }
      )
      # test 1 chunk
      df = from_pandas_df(raw)
      r = get_dummies(df)
      pd.testing.assert_frame_equal(
          r.execute().fetch(), pd.get_dummies(raw)
      )
  
      # test multi chunks
      df = from_pandas_df(raw, chunk_size=2)
      r = get_dummies(df)
      pd.testing.assert_frame_equal(
          r.execute().fetch(), pd.get_dummies(raw)
      )
  
      # test prefix and prefix_sep
      df = from_pandas_df(raw, chunk_size=2)
      r = get_dummies(df, prefix=["col1", "col2"], prefix_sep="_")
      pd.testing.assert_frame_equal(
          r.execute().fetch(),
          pd.get_dummies(raw, prefix=["col1", "col2"], prefix_sep="_"),
      )
  
      r = get_dummies(
          df, prefix={"b": "col1", "d": "col2"}, prefix_sep="_"
      )
      pd.testing.assert_frame_equal(
          r.execute().fetch(),
          pd.get_dummies(
              raw, prefix={"b": "col1", "d": "col2"}, prefix_sep="_"
          ),
      )
  
      # test dummy_na
      raw = pd.Series(["a", "b", "c", np.nan])
      df = from_pandas_series(raw)
      r = get_dummies(df, dummy_na=False)
      pd.testing.assert_frame_equal(
          r.execute().fetch(), pd.get_dummies(raw, dummy_na=False)
      )
  
      # test columns
      raw = pd.DataFrame(
          {
              "a": [1.1, 2.1, 3.1],
              "b": ["5", "-6", "-7"],
              "c": [1, 2, 3],
              "d": ["2", "3", "4"],
          }
      )
      df = from_pandas_df(raw, chunk_size=2)
      r = get_dummies(df, columns=["c"])
      pd.testing.assert_frame_equal(
          r.execute().fetch(), pd.get_dummies(raw, columns=["c"])
      )
  
      r = get_dummies(df, columns=["c", "d"], prefix=["col1", "col2"])
      pd.testing.assert_frame_equal(
          r.execute().fetch(),
          pd.get_dummies(
              raw, columns=["c", "d"], prefix=["col1", "col2"]
          ),
      )
  
      # test drop_first
      df = from_pandas_df(raw, chunk_size=2)
      r = get_dummies(df, drop_first=True)
      pd.testing.assert_frame_equal(
          r.execute().fetch(), pd.get_dummies(raw, drop_first=True)
      )
  
      # test dtype
      df = from_pandas_df(raw, chunk_size=2)
      r = get_dummies(df, dtype=float)
      pd.testing.assert_frame_equal(
          r.execute().fetch(), pd.get_dummies(raw, dtype=float)
      )
  
      # test series
      raw = pd.Series([3, 4, 1, 2])
      series = from_pandas_series(raw, chunk_size=2)
      r = get_dummies(series)
      pd.testing.assert_frame_equal(
          r.execute().fetch(), pd.get_dummies(raw)
      )
  
      # test other variable
      raw = [3, 4, 1, 2]
      r = get_dummies(raw)
      pd.testing.assert_frame_equal(
          r.execute().fetch(), pd.get_dummies(raw)
      )
  
      raw = pd.Series([3, 4, 2, 1])
      r = get_dummies(raw)
      pd.testing.assert_frame_equal(
          r.execute().fetch(), pd.get_dummies(raw)
      )
  
      raw = pd.DataFrame(
          {
              "a": [1.1, 2.1, 3.1],
              "b": ["5", "-6", "-7"],
              "c": [1, 2, 3],
              "d": ["2", "3", "4"],
          }
      )
      r = get_dummies(raw)
      pd.testing.assert_frame_equal(
          r.execute().fetch(), pd.get_dummies(raw)
      )
  
imports: import random
  from collections import OrderedDict
  import numpy
  import pandas
  import pytest
  import mars
  from ....config import options, option_context
  from ....dataframe import DataFrame, Series
  from ....tensor import arange, tensor
  from ....tensor.random import rand
  from ....tests.core import require_cudf
  from ....utils import lazy_import, pd_release_version, no_default
  from ...None import eval, cut, qcut, get_dummies
  from ...core import DATAFRAME_OR_SERIES_TYPE
  from ...datasource.dataframe import from_pandas
  from ...datasource.series import from_pandas
  from ...datasource.index import from_pandas
  from ..None import to_gpu, to_cpu
  from ..bloom_filter import filter_by_bloom_filter
  from ..shift import _enable_no_default, _with_column_freq_bug
  from ..to_numeric import to_numeric
  from ..rebalance import DataFrameRebalance
label_desc: Use image node_id 19 for calling a global function with example usage: test_get_dummies_execution(setup) without return types