[ Web Proxy ]
URL:
Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.pandas.Index.str.html [Back]  [Original]

bigframes.pandas.Index.str — bigframes documentation
Back to top
Search the docs ...:

bigframes.pandas.Index.str#

property Index.str: StringMethods#

Vectorized string functions for Series and Index.

NAs stay NA unless handled otherwise by a particular method. Patterned after Pythons string methods, with some inspiration from Rs 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


Web Proxy Viewer  |  New URL  |  Original Page