bigframes.pandas.MultiIndex.str#

property MultiIndex.str: bigframes.operations.strings.StringMethods#

Vectorized string functions for Series and Index.

NAs stay NA unless handled otherwise by a particular method. Patterned after Python’s string methods, with some inspiration from R’s stringr package.

Examples:

>>> import bigframes.pandas as bpd
>>> s = bpd.Series(["A_Str_Series"])
>>> s
0    A_Str_Series
dtype: string
>>> s.str.lower()
0    a_str_series
dtype: string
>>> s.str.replace("_", "")
0    AStrSeries
dtype: string
Returns:

An accessor containing string methods.

Return type:

bigframes.operations.strings.StringMethods