code: def test_numeric_df_columns(columns):
      # see gh-14827
      df = DataFrame(
          {
              "a": [
                  1.2,
                  decimal.Decimal(3.14),
                  decimal.Decimal("infinity"),
                  "0.1",
              ],
              "b": [1.0, 2.0, 3.0, 4.0],
          }
      )
  
      expected = DataFrame(
          {"a": [1.2, 3.14, np.inf, 0.1], "b": [1.0, 2.0, 3.0, 4.0]}
      )
      df[columns] = df[columns].apply(to_numeric)
  
      tm.assert_frame_equal(df, expected)
  
imports: import decimal
  import numpy
  from numpy import iinfo
  import pytest
  import pandas.util._test_decorators
  import pandas
  from pandas import ArrowDtype, DataFrame, Index, Series, option_context, to_numeric
  import pandas._testing
label_desc: Use image node_id 16 for calling a global function with example usage: test_numeric_df_columns(columns) without return types