Enter search terms or a module, class or function name.
pandas.api.types.
is_number
Check if the object is a number.
obj : The object to check.
is_number : bool
Whether obj is a number or not.
Examples
>>> is_number(1) True >>> is_number("foo") False