code: def test_pipeline_pdp_df(classifier_pipeline_explainer):
      assert isinstance(
          classifier_pipeline_explainer.pdp_df("num__age"), pd.DataFrame
      )
      assert isinstance(
          classifier_pipeline_explainer.pdp_df("cat__sex"), pd.DataFrame
      )
      assert isinstance(
          classifier_pipeline_explainer.pdp_df("num__age", index=0),
          pd.DataFrame,
      )
      assert isinstance(
          classifier_pipeline_explainer.pdp_df("cat__sex", index=0),
          pd.DataFrame,
      )
  
imports: import pytest
  import pandas
  import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: test_pipeline_pdp_df(classifier_pipeline_explainer) without return types