| [ Web Proxy ] |
| Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.pandas.api.typing.StringMethods.split.html | [Back] [Original] |
Section Navigation
Split strings around given separator/delimiter.
Examples:
>>> import bigframes.pandas as bpd>>> s = bpd.Series( ... [ ... "a regular sentence", ... "https://docs.python.org/index.html", ... np.nan ... ] ... ) >>> s.str.split() 0 ['a' 'regular' 'sentence'] 1 ['https://docs.python.org/index.html'] 2 [] dtype: list<item: string>[pyarrow]The pat parameter can be used to split by other characters.
>>> s.str.split("//", regex=False) 0 ['a regular sentence'] 1 ['https:' 'docs.python.org/index.html'] 2 [] dtype: list<item: string>[pyarrow]
Type matches caller.
Copyright 2019, Google.
Created using Sphinx 8.1.3.
Built with the PyData Sphinx Theme 0.19.0.
| Web Proxy Viewer | New URL | Original Page |