[FEA] Add_suffix and add_prefix for DataFrames and Series #9590
Labels
feature request
New feature or request
good first issue
Good for newcomers
Python
Affects Python cuDF API.
Milestone
Pandas provides
add_suffix
andadd_prefix
methods on DataFrames and Series.add_suffix
. For API compatibility, it would be useful to implement them."For Series, the row labels are prefixed (suffixed). For DataFrame, the column labels are prefixed (suffixed)." [0].
If the labels are numeric, they are coerced to strings before concatenation.
[0] https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.add_prefix.html
The text was updated successfully, but these errors were encountered: