code: def test_function_transformer_frame():
      pd = pytest.importorskip("pandas")
      X_df = pd.DataFrame(np.random.randn(100, 10))
      transformer = FunctionTransformer()
      X_df_trans = transformer.fit_transform(X_df)
      assert hasattr(X_df_trans, "loc")
  
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 10 for calling a global function with example usage: test_function_transformer_frame() without return types