Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What does the error "operands could not be broadcast together with shapes (415) (416)" mean? Caused by trying to filter large voltage changes

I've used the numpy module to measure voltages before and after a contingency and calculate the change. I can print the results so the calculation does take place.

However when I try to filter the results with an if statement so it only prints the results greater than 10% I get the error:

"operands could not be broadcast together with shapes (415) (416)"

Any idea on what the problem is?