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 thesubstring is fully contained between [start:end]. Return -1 onfailure. Equivalent to standardstr.find().

Examples:

>>>importbigframes.pandasasbpd
>>>ser=bpd.Series(["cow_","duck_","do_ve"])>>>ser.str.find("_")0    31    42    2dtype: Int64
Parameters:
  • sub (str) – Substring being searched.

  • start (int,default 0) – Left edge index.

  • end (int,default None) – Right edge index.

Returns:

Series with lowest indexes in each strings.

Return type:

bigframes.series.Series

This Page