b = np.array([2,3,4,5])
b[b>=1]
we can get the values which are greater than 1 in b.
However
b = np.array([2,3,4,5])
b[b>=1 and b <= 2]
will raise ValueError.
How can i fix this problem?
b = np.array([2,3,4,5])
b[b>=1]
we can get the values which are greater than 1 in b.
However
b = np.array([2,3,4,5])
b[b>=1 and b <= 2]
will raise ValueError.
How can i fix this problem?