traveler.core.digitize#

Utilities for mapping child identifiers to positions in parent identifiers.

Functions#

digitize(parent_ids, child_ids)

Digitize child IDs based on their positions in the parent IDs.

is_monotonic_increasing(vector[, unique])

Checks if a Jax vector is monotonically increasing.