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
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.api.types.is_number.html