first dataframe like this, with quite few columns:
| name | C1 | C2 | C3 | .... |
|---|---|---|---|---|
| a | 2 | 3 | 5 | ..... |
| b | 4 | 5 | 6 | .... |
| c | 6 | 2 | 3 | .... |
second dataframe like this:
| id | C_name |
|---|---|
| 2 | apple |
| 3 | banana |
| 4 | orange |
| 5 | grape |
| 6 | kiwi |
I would like to replace the numbers in the first dataframe with the names in second dataframe, it should look like this
| name | C1 | C2 | C3 | .... |
|---|---|---|---|---|
| a | apple | banana | grape | ..... |
| b | orange | grape | kiwi | .... |
| c | kiwi | apple | banana | .... |
thank you