def add_suffix(self, suffix: str) -> 'DataFrame':
    "\n        Suffix labels with string `suffix`.\n\n        For Series, the row labels are suffixed.\n        For DataFrame, the column labels are suffixed.\n\n        Parameters\n        ----------\n        suffix : str\n           The string to add before each label.\n\n        Returns\n        -------\n        DataFrame\n           New DataFrame with updated labels.\n\n        See Also\n        --------\n        Series.add_prefix: Prefix row labels with string `prefix`.\n        Series.add_suffix: Suffix row labels with string `suffix`.\n        DataFrame.add_prefix: Prefix column labels with string `prefix`.\n\n        Examples\n        --------\n        >>> df = ps.DataFrame({'A': [1, 2, 3, 4], 'B': [3, 4, 5, 6]}, columns=['A', 'B'])\n        >>> df\n           A  B\n        0  1  3\n        1  2  4\n        2  3  5\n        3  4  6\n\n        >>> df.add_suffix('_col')\n           A_col  B_col\n        0      1      3\n        1      2      4\n        2      3      5\n        3      4      6\n        "
    assert isinstance(suffix, str)
    return self._apply_series_op((lambda psser: psser.rename(tuple([(i + suffix) for i in psser._column_label]))))
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 before each label.

Returns
-------
DataFrame
   New DataFrame with updated labels.

See Also
--------
Series.add_prefix: Prefix row labels with string `prefix`.
Series.add_suffix: Suffix row labels with string `suffix`.
DataFrame.add_prefix: Prefix column labels with string `prefix`.

Examples
--------
>>> df = ps.DataFrame({'A': [1, 2, 3, 4], 'B': [3, 4, 5, 6]}, columns=['A', 'B'])
>>> df
   A  B
0  1  3
1  2  4
2  3  5
3  4  6

>>> df.add_suffix('_col')
   A_col  B_col
0      1      3
1      2      4
2      3      5
3      4      6
def add_suffix(self, suffix: str) -> 'DataFrame':
    "\n        Suffix labels with string `suffix`.\n\n        For Series, the row labels are suffixed.\n        For DataFrame, the column labels are suffixed.\n\n        Parameters\n        ----------\n        suffix : str\n           The string to add before each label.\n\n        Returns\n        -------\n        DataFrame\n           New DataFrame with updated labels.\n\n        See Also\n        --------\n        Series.add_prefix: Prefix row labels with string `prefix`.\n        Series.add_suffix: Suffix row labels with string `suffix`.\n        DataFrame.add_prefix: Prefix column labels with string `prefix`.\n\n        Examples\n        --------\n        >>> df = ps.DataFrame({'A': [1, 2, 3, 4], 'B': [3, 4, 5, 6]}, columns=['A', 'B'])\n        >>> df\n           A  B\n        0  1  3\n        1  2  4\n        2  3  5\n        3  4  6\n\n        >>> df.add_suffix('_col')\n           A_col  B_col\n        0      1      3\n        1      2      4\n        2      3      5\n        3      4      6\n        "
    assert isinstance(suffix, str)
    return self._apply_series_op((lambda psser: psser.rename(tuple([(i + suffix) for i in psser._column_label]))))