modin.pandas.DataFrame.add_suffix¶
- DataFrame.add_suffix(suffix, axis=None)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.23.0/../../../../../opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/site-packages/modin/pandas/dataframe.py#L375-L382)¶
Suffix labels with string suffix.
For Series, the row labels are suffixed. For DataFrame, the column labels are suffixed.
- Parameters:
suffix (str) – The string to add after each label.
- Returns:
New Series or DataFrame with updated labels.
- Return type:
See also
Series.add_prefixPrefix row labels with string prefix.
DataFrame.add_prefixPrefix column labels with string prefix.
Examples