code: def test_get_dummies():
      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)
  
      with pytest.raises(TypeError):
          _ = get_dummies(df, columns="a")
  
      with pytest.raises(ValueError):
          _ = get_dummies(df, prefix=["col1"])
  
      with pytest.raises(ValueError):
          _ = get_dummies(
              df, columns=["a"], prefix={"a": "col1", "c": "col2"}
          )
  
      with pytest.raises(KeyError):
          _ = get_dummies(
              df, columns=["a", "b"], prefix={"a": "col1", "c": "col2"}
          )
  
      r = get_dummies(df)
      assert isinstance(r, DATAFRAME_TYPE)
  
imports: from typing import List, Union
  import numpy
  import pandas
  import pytest
  from ....None import opcodes
  from ....config import options, option_context
  from ....core import OutputType, tile, Tileable
  from ....core.graph import TileableGraph, TileableGraphBuilder, TileContext, ChunkGraphBuilder
  from ....core.operand import OperandStage
  from ....tensor.core import TENSOR_TYPE
  from ...None import eval, cut, get_dummies, to_numeric
  from ...core import DATAFRAME_TYPE, SERIES_TYPE, SERIES_CHUNK_TYPE, INDEX_TYPE, CATEGORICAL_TYPE, CATEGORICAL_CHUNK_TYPE, DataFrameData, SeriesData
  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, astype
label_desc: Use image node_id 15 for calling a global function with example usage: test_get_dummies() without return types