python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Boolean Expression Error - If Statement - The truth value of a DataFrame is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()
I have a DataFrame with headers for 'City', 'State' and 'Country'. My goal is to clean up the state and country columns and have all states displayed with their proper abbreviation (ex: 'New York' == ...
Alison810
Votes: 0
Answers: 0
Else statement and while loop
Code skips the error if statements and goes straight to the else if
I need laps to go through and if its less than 2 then it'll go to the error and come back again to ask to enter a new value. vice ve...
Enzo Zozaya De Oliveira
Votes: 0
Answers: 4
pinescript boolean variable has an integer value
I've got this pinescript code I'm trying to translate to python but for some reason the boolean variable has an integer value? or an integer -like syntax? would appericate any form of help
code:
a = a...
Shahar Brandman
Votes: 0
Answers: 0
Boolean statement that prints 'true' if numbers are odd within a given range?
I need to write out a boolean statement that prints 'true' if the number entered (using scanner input) is...
within a range of 1 to 100 but NOT an even number within the range 40 to 50.
As in, if th...
hengeress34
Votes: 0
Answers: 2