how to check the type of an object in python pandas code example
Example 1: how to check datatype of column in dataframe python
df['DataFrame Column'].dtypes
Example 2: identify object python
print(type('string'))
# <class 'str'>
print(type('string') is str)
# True