- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature
Hello, I want to get some advice for splitting table. Thank you!
I have two columns A and B
A: Temperature
B: Step 1 / Step2 / Step3
I split column "temperature" by column "steps". The final column names are "Temperature Step1", "Temperature Step2"...
How could I make final column name starts with suffix steps? like "Step1 Temperature", "Step2 Temperature"? I got a lot of columns so it is difficult to edit manually.
Thanks!
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature
You can edit your B column (or create new) in your original data table before split (change formula to "Temperature " || :B)
Or you can use recode column names with regex for example
With ^ you can "replace" start of the string and then replacement text is "Temperature "
Or you can write a script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature
You can edit your B column (or create new) in your original data table before split (change formula to "Temperature " || :B)
Or you can use recode column names with regex for example
With ^ you can "replace" start of the string and then replacement text is "Temperature "
Or you can write a script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Table Split: how to move the suffix before the original column names? Temperaruer Step 1 vs. Step 1 Temperature
@jthi Thanks! That's exactly what I am looking for and it works very well!