0
Imagine the following situation, I have a Dataframe with any name. Within this Dataframe I have columns with the following titles More(abc), Less(abc), Sub(abc), following the data of each column. The name abc refers to abc data, I also have More(dfg), Less(dfg), Sub(dfg).
How do I create a function that keeps the data of each column, but when printing this data I change the column names only to abc ? That is by removing More, Less and Sub.
Thus the result would be abc plus the data and dfg plus the data, removing the More, Less, Sub and also the ().
I recommend you for code you already have so someone can help you.
– Edu Mendonça