ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
vardhannegi opened this issue · comments
I am getting this error for this line if avg>=1000000 and ltp<=600
I have tried &
in place of and
for comparison also np.logical_and(avg>=1000000, ltp<=600)
I got these two solution from SO but not working. This code was working fine few months ago . I don't know why it's not working.