code: def test_map_na_ignore(float_frame):
      # GH 23803
      strlen_frame = float_frame.map(lambda x: len(str(x)))
      float_frame_with_na = float_frame.copy()
      mask = np.random.default_rng(2).integers(
          0, 2, size=float_frame.shape, dtype=bool
      )
      float_frame_with_na[mask] = pd.NA
      strlen_frame_na_ignore = float_frame_with_na.map(
          lambda x: len(str(x)), na_action="ignore"
      )
      # Set float64 type to avoid upcast when setting NA below
      strlen_frame_with_na = strlen_frame.copy().astype("float64")
      strlen_frame_with_na[mask] = pd.NA
      tm.assert_frame_equal(
          strlen_frame_na_ignore, strlen_frame_with_na
      )
  
imports: from datetime import datetime
  import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Series, Timestamp, date_range
  import pandas._testing
  from pandas.tseries.offsets import BDay
label_desc: Use image node_id 8 for calling a global function with example usage: test_map_na_ignore(float_frame) without return types