GroupIndex.split#

GroupIndex.split(values: ndarray[Any, dtype[int64]], values_count: int, compress: bool = False) GroupIndex[source]#

Split groups of objects into finer groups according to values on a single splitting attribute

It is up to the user to ensure that values_count correctly represents values. Otherwise, the behavior is unspecified.