crowsetta.validation.check_consistent_length

crowsetta.validation.check_consistent_length#

crowsetta.validation.check_consistent_length(arrays: Sequence[_SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]]) None[source]#

Check that all arrays have consistent first dimensions. Checks whether all objects in arrays have the same shape or length.

Parameters:

arrays (list or tuple of input objects.) – Objects that will be checked for consistent length.