[python] how to check the dtype of a column in python pandas