title: How to convert object to int in jupyter (pandas)?
body: <p>How to convert object to int in jupyter (pandas)?</p>
  <pre><code>dataset['Gender'] = dataset['Gender'].astype(str).astype(int)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/aXUw1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aXUw1.png" alt="enter image description here" /></a></p>