'Is there way to campare a dataframe boolean value to a interger value representing the boolean like True ==1
My If statement is not being executed but no error is being raised
m=((data.iloc[0,8:9]-data.iloc[1,8:9]).dt.total_seconds()/3600)<1
if m is True:
print('**********')
I want to check if m is true or false
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
