code: def test_tree_to_df_categorical(self) -> None:
      self.run_tree_to_df_categorical("approx")
  
file_path: xgboost/tests/python/test_parse_tree.py
imports: import numpy
  import pytest
  import xgboost
  from xgboost import testing
label_desc: Use image node_id 5 for calling the TestTreesToDataFrame obj's underlying member method code with example usage: obj.test_tree_to_df_categorical() without return types