data type of pandas column code example
Example 1: how to check datatype of column in dataframe python
df['DataFrame Column'].dtypes
Example 2: change dataframe column type
>>> df.astype({'col1': 'int32'}).dtypes
col1 int32
col2 int64
dtype: object