code: def test_transform_raises():
      vect = dask_ml.feature_extraction.text.HashingVectorizer()
      b = db.from_sequence(JUNK_FOOD_DOCS, npartitions=2)
  
      df = b.to_dataframe(columns=["text"])
  
      with pytest.raises(ValueError, match="1-dimensional array"):
          vect.transform(df)
  
      with pytest.raises(ValueError, match="1-dimensional array"):
          vect.transform(df.values)
  
file_path: dask-ml/tests/feature_extraction/test_text.py
imports: import dask.array
  import dask.bag
  import dask.dataframe
  import numpy
  import pandas
  import pytest
  import scipy.sparse
  import sklearn.feature_extraction.text
  from distributed import Client
  import dask_ml.feature_extraction.text
  from dask_ml._compat import dummy_context
  from dask_ml.utils import assert_estimator_equal
label_desc: Use image node_id 4 for calling a global function with example usage: test_transform_raises() without return types