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.
Filter data: If data contains | then don't consider those records
sgnarkhede2016
Member Posts: 152 Contributor II
in Help
Hello,
If multiple attribute contains attribute value like A|B or 123|987
how to handles dynamically w.r.t all attributes
Thanks,
Sachin N
If multiple attribute contains attribute value like A|B or 123|987
how to handles dynamically w.r.t all attributes
Thanks,
Sachin N
Tagged:
0
Answers
you could use Loop Attributes and inside that Generate Attributes with something like:
match = match || contains(%{attr}, "|")
Initialize match with false, and filter records that have match = true after. The expression changes to true if one of the attribute values contains the character |.
If it were a different character, you could use Generate Aggregation with the concatenate function - but unfortunately it uses exactly | for separating the resulting string.
Regards,
Balázs