pasteur.hierarchy.create_tree#
- pasteur.hierarchy.create_tree(node, common, ofs=0, n=None)[source]#
Receives the top node of the tree of a hierarchical attribute and converts it into the same tree structure, where the leaves have been replaced by bucket groups, with each bucket group containing the node it replaced.
- Return type:
CommonNode|OrdNode|CatNode