data type of dataframe column code example
Example 1: how to check datatype of column in dataframe python
df['DataFrame Column'].dtypes
Example 2: set type of column pandas
df.astype(int)
df['DataFrame Column'].dtypes
df.astype(int)