pandas.api.types.is_integer#

pandas.api.types.is_integer(obj)#

Return True if given object is integer.

Returns:
bool

Examples

>>> pd.api.types.is_integer(1)
True
>>> pd.api.types.is_integer(1.0)
False