code: def test_series_map_callable_numeric_basic():
      gd2 = cudf.Series([1, 2, 3, 4, np.nan])
      pdf2 = gd2.to_pandas()
  
      expected_function = pdf2.map(lambda x: x**2)
      actual_function = gd2.map(lambda x: x**2)
  
      assert_eq(expected_function, actual_function)
  
file_path: cudf/python/cudf/cudf/tests/test_seriesmap.py
imports: from itertools import product
  from math import floor
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import Series
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_series_map_callable_numeric_basic() without return types