code: def test_function_transformer_support_all_nummerical_dataframes_check_inverse_True():
      """Check support for dataframes with only numerical values."""
      pd = pytest.importorskip("pandas")
  
      df = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
      transformer = FunctionTransformer(
          func=lambda x: x + 2,
          inverse_func=lambda x: x - 2,
          check_inverse=True,
      )
  
      # Does not raise an error
      df_out = transformer.fit_transform(df)
      assert_allclose_dense_sparse(df_out, df + 2)
  
imports: import warnings
  import numpy
  import pytest
  from sklearn.pipeline import make_pipeline
  from sklearn.preprocessing import FunctionTransformer
  from sklearn.utils._testing import _convert_container, assert_allclose_dense_sparse, assert_array_equal
  from sklearn.utils.fixes import CSC_CONTAINERS, CSR_CONTAINERS
label_desc: Use image node_id 12 for calling a global function with example usage: test_function_transformer_support_all_nummerical_dataframes_check_inverse_True() without return types