pyufunc.is_float#
- pyufunc.is_float(value='')#
Check if the value can be converted to float.
- Parameters:
value (Any) – the value to be checked.
- Returns:
if the value can be converted to float
- Return type:
Examples
>>> from pyufunc import is_float >>> is_float(1) True >>> is_float("1") True >>> is_float("1.0") True >>> is_float("1.0.0") False >>> is_float("abc") False