code: def test_to_numeric_on_dask_dataframe_dataframe_raises_error():
      s = pd.Series(["1.0", "2", -3, -5.1])
      df = pd.DataFrame({"a": s, "b": s})
      arg = from_pandas(df, npartitions=2)
      with pytest.raises(
          TypeError, match="arg must be a list, tuple, dask."
      ):
          to_numeric(arg)
  
file_path: dask/dask/dataframe/tests/test_numeric.py
imports: from __future__ import annotations
  import numpy
  import pandas
  import pytest
  from dask.array import Array, from_array
  from dask.dataframe import Series, _dask_expr_enabled, from_pandas, to_numeric
  from dask.dataframe.utils import pyarrow_strings_enabled
  from dask.delayed import Delayed
label_desc: Use image node_id 6 for calling a global function with example usage: test_to_numeric_on_dask_dataframe_dataframe_raises_error() without return types