Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.api.types.is_numberΒΆ

pandas.api.types.is_number(obj)[source]ΒΆ

Check if the object is a number.

Parameters:

obj : The object to check.

Returns:

is_number : bool

Whether obj is a number or not.

Examples

>>> is_number(1)
True
>>> is_number("foo")
False
Scroll To Top