bigframes.pandas.api.typing.StringMethods.isspace#
- StringMethods.isspace() T[source]#
Check whether all characters in each string are whitespace.
This is equivalent to running the Python string method
str.isspace()for each element of the Series/Index. If a string has zero characters,Falseis returned for that check.Examples:
>>> import bigframes.pandas as bpd
>>> s = bpd.Series([' ', '\t\r\n ', '']) >>> s.str.isspace() 0 True 1 True 2 False dtype: boolean
- Returns:
- Series or Index of boolean values with the
same length as the original Series/Index.
- Return type: