jupyter pandas error- read date and if command

Viewed 7

i am beginner in programming. (jupyter-python with excel files)

my code:

df = pd.read_excel('score.xlsx')
for score in df.score:
if score < 10
   b.append(True)
else:
    b.append(False)

error: Input In [48] if score < 10 ^ SyntaxError: invalid syntax

0 Answers
Related