code: def test_fetch_asframe(fetch_covtype_fxt):
      pytest.importorskip("pandas")
  
      bunch = fetch_covtype_fxt(as_frame=True)
      assert hasattr(bunch, "frame")
      frame = bunch.frame
      assert frame.shape == (581012, 55)
      assert bunch.data.shape == (581012, 54)
      assert bunch.target.shape == (581012,)
  
      column_names = set(frame.columns)
  
      # enumerated names are added correctly
      assert (
          set(f"Wilderness_Area_{i}" for i in range(4)) < column_names
      )
      assert set(f"Soil_Type_{i}" for i in range(40)) < column_names
  
imports: from functools import partial
  import pytest
  from sklearn.datasets.tests.test_common import check_return_X_y
label_desc: Use image node_id 2 for calling a global function with example usage: test_fetch_asframe(fetch_covtype_fxt) without return types