semantique.exceptions.MixedDimensionsError

semantique.exceptions.MixedDimensionsError#

exception semantique.exceptions.MixedDimensionsError[source]#

Raised when arrays in a collection have differing dimensions.

This occurs in functions that require all arrays in a collection to have exactly the same dimensions. This includes grouping with the groupby verb, which allows a collection of arrays to be used as grouper argument, but only when their dimensions are the same.