bigframes.pandas.api.typing.StringMethods.isdecimal#
- StringMethods.isdecimal() T[source]#
Check whether all characters in each string are decimal.
This is equivalent to running the Python string method
str.isdecimal()for each element of the Series/Index. If a string has zero characters,Falseis returned for that check.Examples:
>>> import bigframes.pandas as bpd
The isdecimal method checks for characters used to form numbers in base 10.
>>> s = bpd.Series(['23', '³', '⅕', '']) >>> s.str.isdecimal() 0 True 1 False 2 False 3 False dtype: boolean
- Returns:
- Series or Index of boolean values with the
same length as the original Series/Index.
- Return type: