code: def test_list():
      ser = ["1", "-3.14", "7"]
      res = to_numeric(ser)
  
      expected = np.array([1, -3.14, 7])
      tm.assert_numpy_array_equal(res, 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 13 for calling a global function with example usage: test_list() without return types