bigframes.pandas.Series.add_suffix#

Series.add_suffix(suffix: str, axis: int | str | None = None) Series[source]#

Suffix labels with string suffix.

For Series, the row labels are suffixed. For DataFrame, the column labels are suffixed.

Parameters:
  • suffix – The string to add after each label.

  • axis{{0 or 'index', 1 or 'columns', None}}, default None. Axis to add suffix on

Returns:

New Series or DataFrame with updated labels.

Return type:

bigframes.pandas.DataFrame or bigframes.pandas.Series