swapniljariwala / nsepy

Python Library to get publicly available data on NSE website ie. stock quotes, historical data, live indices

Home Page:https://nsepy-xyz.web.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.