| [ Web Proxy ] |
| Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.pandas.api.typing.StringMethods.repeat.html | [Back] [Original] |
Section Navigation
Duplicate each string in the Series or Index.
Examples:
>>> import bigframes.pandas as bpd
>>> s = bpd.Series(['a', 'b', 'c'])
>>> s
0 a
1 b
2 c
dtype: string
>>> s.str.repeat(repeats=2)
0 aa
1 bb
2 cc
dtype: string
repeats int or sequence of int Same value for all (int) or different value per (sequence).
objects specified by input parameter repeats.
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 |