title: How to check a column's type of a dataframe using iloc?
body: <p>How can I write a for loop to check types of columns in a dataframe one by one?
  For example, for below df:</p>
  <p><a href="https://i.stack.imgur.com/IMa9t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IMa9t.png" alt="enter image description here" /></a></p>
  <p>Any help would be great!</p>