Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
How can I change the name of columns
Loan_Nguyen56
Member Posts: 8 Contributor I
in Help
Hello All,
I would like to change the three last column's names into "First Class", "Second Class", and "Third Class" instead of "Passenger First Class"... as well.
Thank you very much.
Loan Nguyen
I would like to change the three last column's names into "First Class", "Second Class", and "Third Class" instead of "Passenger First Class"... as well.
Thank you very much.
Loan Nguyen
0
Best Answer
-
ceaperez Member Posts: 541 UnicornHi @Loan_Nguyen56
You have an operator named Rename into Blending-> Attributes->Names & Roles.
regards
0
Answers
Thanks for your letting me know.
Besides that, I follow the instructions below to get the new column names however, I cannot get the right answer.
"Renaming attributes with regular expressions
- Search
for the operator Rename by Replacing, add it, and connect it to Pivot.
- Also connect the operator
to the result port on the right.
- Copy
count\((.*)\)_(.*) into the replace what parameter field.
Make sure that you get all the parentheses right!
- Copy
$1 $2 into the replace by parameter. "
And, what does count\((.*)\)_(.*) means?Thanks,
They are replacing the names of the Attributes (Column) using a Regular Expression.
Wow, I understand it clearly.
Thank you very much for your kind help.
Regards,