cudf.core.column.string.StringMethods.isempty#

StringMethods.isempty() SeriesOrIndex[source]#

Check whether each string is an empty string.

Returns:
Series or Index of bool

Series or Index of boolean values with the same length as the original Series/Index.

Examples

>>> import cudf
>>> s = cudf.Series(["1", "abc", "", " ", None])
>>> s.str.isempty()
0    False
1    False
2     True
3    False
4    False
dtype: bool