pandas dataframe check if float or integer code example
Example 1: python is integer
(1.23).is_integer() # Returns false
Example 2: w=how to tell if decimal in python
i = 100
f = 1.23
print(type(i))
print(type(f))
# <class 'int'>
# <class 'float'>