bigframes.pandas.api.typing.StringMethods.find#
- StringMethods.find(sub: str, start: int | None = None, end: int | None = None) T[source]#
Return lowest indexes in each strings in the Series/Index.
Each of returned indexes corresponds to the position where the substring is fully contained between [start:end]. Return -1 on failure. Equivalent to standard
str.find().Examples:
>>> import bigframes.pandas as bpd
>>> ser = bpd.Series(["cow_", "duck_", "do_ve"]) >>> ser.str.find("_") 0 3 1 4 2 2 dtype: Int64
- Parameters:
- Returns:
Series with lowest indexes in each strings.
- Return type: