code: def test_map_na_exclusion():
      s = Series([1.5, np.nan, 3, np.nan, 5])
  
      result = s.map(lambda x: x * 2, na_action="ignore")
      exp = s * 2
      tm.assert_series_equal(result, exp)
  
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 21 for calling a global function with example usage: test_map_na_exclusion() without return types