code: def test_map_dict_ignore_na(arg_func):
      # GH#47527
      mapping = arg_func({1: 10, np.nan: 42})
      ser = Series([1, np.nan, 2])
      result = ser.map(mapping, na_action="ignore")
      expected = Series([10, np.nan, np.nan])
      tm.assert_series_equal(result, expected)
  
imports: from collections import Counter, defaultdict
  from decimal import Decimal
  import math
  import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, MultiIndex, Series, bdate_range, date_range, isna, timedelta_range
  import pandas._testing
label_desc: Use image node_id 29 for calling a global function with example usage: test_map_dict_ignore_na(arg_func) without return types