[ Web Proxy ]
URL:
Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.pandas.DataFrame.rename_axis.html [Back]  [Original]

bigframes.pandas.DataFrame.rename_axis — bigframes documentation
Back to top
Search the docs ...:

bigframes.pandas.DataFrame.rename_axis#

DataFrame.rename_axis(mapper: Union[blocks.Label, Sequence[blocks.Label]]) DataFrame[source]#
DataFrame.rename_axis(mapper: Union[blocks.Label, Sequence[blocks.Label]], *, inplace: Literal[False], **kwargs) DataFrame
DataFrame.rename_axis(mapper: Union[blocks.Label, Sequence[blocks.Label]], *, inplace: Literal[True], **kwargs) None

Set the name of the axis for the index.

Note

Currently only accepts a single string parameter (the new name of the index).

Parameters:
  • mapper (str) Value to set the axis name attribute.

  • inplace (bool) Default False. Modifies the object directly, instead of creating a new Series or DataFrame.

Returns:

DataFrame with the new index name or None if inplace=True.

Return type:

bigframes.pandas.DataFrame | None


Web Proxy Viewer  |  New URL  |  Original Page