array_split.split.is_indices

array_split.split.is_indices(indices_or_sections)[source]

Test for the indices_or_sections argument of ShapeSplitter.__init__() to determine whether it is specifying total number of tiles or sequence of cut indices. Returns True if argument indices_or_sections is a sequence (e.g. a list or tuple, etc).

Parameters:

indices_or_sections (object) – Return True if this is a sequence.

Return type:

bool

Returns:

is_sequence(indices_or_sections).