Hi perfringo
Thanks for your answer; based on your example, I did some tests to understand how it works and it helped me a lot
Paul
Thanks for your answer; based on your example, I did some tests to understand how it works and it helped me a lot
Paul
import numpy as np # my tupples a = ( 0, 15, 49, 100, 1568) b = () # 1rst (splitted) solution result = (a < b and b) or a c = a < b d = a < b and b e = a < b or a # another one f = (np.any(a))*a or (np.any(b)*b) # being deprecated f = ((np.any(a)).astype(int))*a + ((np.any(b)).astype(int))*b