bigframes.geopandas.GeoSeries.add_prefix#

GeoSeries.add_prefix(prefix: str, axis: int | str | None = None) Series#

Prefix labels with string prefix.

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

Parameters:
  • prefix (str) – The string to add before each label.

  • axis (int or str or None, default None) – {{0 or 'index', 1 or 'columns', None}}, default None. Axis to add prefix on.

Returns:

New Series or DataFrame with updated labels.

Return type:

bigframes.pandas.DataFrame or bigframes.pandas.Series