code: def test_pca(compute_numeric_backend_df):
      x = dim_reduc(
          data=compute_numeric_backend_df,
          n_components=2,
          dim_method="pca",
      )
      assert isinstance(x, tuple)
      assert _is_dataframe(x[0])
      assert isinstance(x[1], sklearn.decomposition.PCA)
  
file_path: data-describe/tests/test_dimensionality_reduction.py
imports: import pytest
  import sklearn
  from data_describe.compat import _is_dataframe
  from data_describe.dimensionality_reduction.dimensionality_reduction import dim_reduc
label_desc: Use image node_id 2 for calling a global function with example usage: test_pca(compute_numeric_backend_df) without return types