bigframes.bigquery.array_to_string#
- bigframes.bigquery.array_to_string(series: Series, delimiter: str) Series[source]#
Converts array elements within a Series into delimited strings.
Examples:
>>> import bigframes.pandas as bpd >>> import bigframes.bigquery as bbq
>>> s = bpd.Series([["H", "i", "!"], ["Hello", "World"], np.nan, [], ["Hi"]]) >>> bbq.array_to_string(s, delimiter=", ") 0 H, i, ! 1 Hello, World 2 3 4 Hi dtype: string
- Parameters:
series (bigframes.series.Series) – A Series containing arrays.
delimiter (str) – The string used to separate array elements.
- Returns:
A Series containing delimited strings.
- Return type: