I got an error:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Thus, I wrote
if om_dif