class_docstr: A tree built by XGBoost.
docstr: Categories in a node.
docstr_tok: ["Categories","in","a","node","."]
code: def split_categories(self, node_id: int) -> List[int]:
      """Categories in a node."""
      return self.nodes[node_id].categories
  
imports: import argparse
  import json
  from dataclasses import dataclass
  from enum import IntEnum, unique
  from typing import Any, Dict, List, Sequence, Union
  import numpy
label_desc: Use image node_id 7 for calling the Tree obj's underlying member method code with example usage: obj.split_categories(node_id) and returns: self