code: def test_map_invalid_na_action(float_frame):
      # GH 23803
      with pytest.raises(
          ValueError, match="na_action must be .*Got 'abc'"
      ):
          float_frame.map(lambda x: len(str(x)), na_action="abc")
  
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 14 for calling a global function with example usage: test_map_invalid_na_action(float_frame) without return types