bigframes.pandas.api.typing.StringMethods.isdigit#

StringMethods.isdigit() T[source]#

Check whether all characters in each string are digits.

This is equivalent to running the Python string method str.isdigit() for each element of the Series/Index. If a string has zero characters, False is returned for that check.

Examples:

>>> import bigframes.pandas as bpd
>>> s = bpd.Series(['23', '1a', '1/5', ''])
>>> s.str.isdigit()
0     True
1    False
2    False
3    False
dtype: boolean
Returns:

Series with the same length as the originalSeries/Index.

Return type:

bigframes.series.Series