For some dt.Value wrapper, when working with the mathematical operator, the broadcast rules are invalid, resulting in an unintuitive result, and there is no notification for broadcast error.
Example:
dt.Value(value=[1, 2, 3]) > dt.Value(value=[1, 2, 3, 4]) —> [False, False, False, False]
dt.Value(value=[1, 2, 3]) > dt.Value(value=[1, 2]) —> [False, False, True]
dt.Value(value=[1, 2, 3]) ** dt.Value(value=[1, 2]) —> [1, 4, 3]
@BenjaminMidtvedt
For some
dt.Valuewrapper, when working with the mathematical operator, the broadcast rules are invalid, resulting in an unintuitive result, and there is no notification for broadcast error.Example:
dt.Value(value=[1, 2, 3]) > dt.Value(value=[1, 2, 3, 4])—>[False, False, False, False]dt.Value(value=[1, 2, 3]) > dt.Value(value=[1, 2])—>[False, False, True]dt.Value(value=[1, 2, 3]) ** dt.Value(value=[1, 2])—>[1, 4, 3]@BenjaminMidtvedt