split_by_regions
split_by_regions(ar, regions, sortings=None, return_indices=False):
Splits an array up by edges defined by regions. Operates in 1D but can take compound dtypes using lexicographic ordering. In that case it is on the user to ensure that lex ordering is what is desired.
ar
:Any
regions
:Any
sortings
:Any
:returns
:_