Get your own website
Python code
data.csv
 
  Original DataFrame:
       age qualified
  0  fifty        No
  1     40      True
  2     30     False
  Original dtypes:
  age          object
  qualified    object
  dtype: object
  New DataFrame:
    age qualified
  1  40      True
  2  30     False
  New dtypes:
  age          int64
  qualified     bool
  dtype: object