Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Create new attribute
denhojer
In rapidminer i have a data set with an attribute called address which contain property address, what i need to do is create a new attribute which will only have the last 3 words contain in each property address. ie 231 new road County Dublin Ireland what i want to have is County Dublin Ireland in the new attribute. Could anybody help me with this process, I have tried to do it with the generate attribute process useing the function expression options but no success. Thanks for your time
Find more posts tagged with
AI Studio
Accepted answers
All comments
MariusHelf
You can use the Replace operator and replace .* (\w+ \w+ \w+) by $1.
For any kind of string replacement I suggest to get accustomed with regular expressions.
Best regards,
Marius
MariusHelf
Btw, there is no use of posting the question both here and on StackOverflow - that is considered cross-posting and usually considered to be against the netiquette
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups