def split_at_breaks(array, breaks, axis=0):
    padded_breaks = concat([[None], breaks, [None]])
    slices = [slice(i, j) for i, j in sliding_window(2, padded_breaks)]
    preslice = (slice(None),) * axis
    split_array = [array[preslice + (s,)] for s in slices]
    return split_array
Get a UserProfile object from the user_profile_id.
dataset/ETHPy150Open dask/dask/dask/array/core.py/split_at_breaks--crossover with--dataset/ETHPy150Open zulip/zulip/zproject/backends.py/ZulipAuthMixin.get_user