Concept Flow - Renaming columns
Start with DataFrame
Choose columns to rename
Create mapping: old_name -> new_name
Apply rename method
Get DataFrame with new column names
End
We start with a DataFrame, decide which columns to rename, create a mapping from old to new names, apply the rename, and get the updated DataFrame.