code: def test_xgbclas_decisionpath_df(
      precalculated_xgb_classifier_explainer, test_names
  ):
      df = precalculated_xgb_classifier_explainer.get_decisionpath_df(
          tree_idx=0, index=0
      )
      assert isinstance(df, pd.DataFrame)
  
      df = precalculated_xgb_classifier_explainer.get_decisionpath_df(
          tree_idx=0, index=test_names[0]
      )
      assert isinstance(df, pd.DataFrame)
  
file_path: explainerdashboard/tests/test_xgboost_treeviz.py
imports: import unittest
  import pandas
  import plotly.graph_objects
  import dtreeviz
  from xgboost import XGBClassifier
  from explainerdashboard.explainers import ClassifierExplainer
  from explainerdashboard.datasets import *
label_desc: Use image node_id 3 for calling a global function with example usage: test_xgbclas_decisionpath_df(precalculated_xgb_classifier_explainer, test_names) without return types