bigframes.pandas.api.typing.StringMethods.get#
- StringMethods.get(i: int) T[source]#
Extract element from each component at specified position or with specified key.
Extract element from lists, tuples, dict, or strings in each element in the Series/Index.
Examples:
>>> import bigframes.pandas as bpd
>>> s = bpd.Series(["apple", "banana", "fig"]) >>> s.str.get(3) 0 l 1 a 2 <NA> dtype: string
- Parameters:
i (int) – Position or key of element to extract.
- Returns:
Series
- Return type: