A monotonic constraint restricts a model to be non-decreasing (or non-increasing) in a feature, all others fixed. In a tree ensemble it is enforced by allowing a split on that feature only when the left child’s value does not exceed the right child’s (or the reverse), propagated down the tree.
ml_trees.partial_dependence on firm.tape.