Selecting all numerical values in data-frame and converting it to int in panda : <p>I have data like:</p>

<p><a href="https://i.stack.imgur.com/6CKlF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6CKlF.jpg" alt="enter image description here"></a></p>

<p>I want to make all numerical values to int, no decimal will be here. 
like this:</p>

<p><a href="https://i.stack.imgur.com/lV99z.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lV99z.jpg" alt="enter image description here"></a></p>

<p>I was using code like list:</p>

<pre><code>             df=pd.read_csv("file.csv")

             df = df.astype('int64')
</code></pre>

<p>But it was not working. Because it was saying:</p>

<pre><code>          ValueError: Cannot convert NA to integer
</code></pre>

<p>Because, I have some nan value inside. There are string also in the column one row 2&amp;3.
I think the solution could be, selecting all numerical values from the data frame and converting to int. Can you suggest anything?</p>
