pandas.DataFrame.add_prefix

Prefix labels with string prefix.

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

param prefix
str

The string to add before each label.

return

Series or DataFrame New Series or DataFrame with updated labels.

Warning

This feature is currently unsupported by Intel Scalable Dataframe Compiler