Want to remove common pattern from column names.

User: "Himanshu_Pant"
New Altair Community Member
Updated by Jocelyn
I have a datset which contain a common pattern across all the column name. E.g.

average(column1)    average(column2)  average(column3)  average(column4).

I want column name like: 
column1                    column2          column3              column4

so how to remove, average() from each column name.

P.S. Please suggest a way without using a loop. If not, than loop will also work.

Find more posts tagged with

Sort by:
1 - 1 of 11