title: Error: '>' not supported between instances of 'method' and 'int'
body: <p><a href="https://i.stack.imgur.com/N5uNR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N5uNR.png" alt="enter image description here" /></a></p>
  <p>This code isn't working in Jupyter IDE. I can't find my mistake. Please help.</p>
  <p>The first 5 rows of the dataframe I am using is shown here:
  <a href="https://i.stack.imgur.com/JqZ0D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JqZ0D.png" alt="enter image description here" /></a></p>