The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
How to index and find common elements in the list ?
I found that if a cell in an attribute has list of elements .We can index only one element using [] .But what if we want to index all the elements like [0:] in python.
Finally, I want to find out common elements of two attributes in which all rows contain list data .
Finally, I want to find out common elements of two attributes in which all rows contain list data .
0
Answers
please check the Select operator:
Select - RapidMiner Documentation
Also you can work with Python using the Execute Python operator.
please find attached a example process for that.
Best
there is a Split operator that you can use to split up the contents of an attribute on the specified separator character.
Usually you would then use De-Pivot to convert the newly created columns (attribute_1, attribute_2 etc.) to rows and process them with Aggregate (to get the most frequent values etc.).
Regards,
Balázs
Dortmund, Germany
Can you write examples of the data you have to process?
Are the brackets there before the split?
[val1,val2,val3]
Then use Replace to remove the brackets with a regular expression.
Regards,
Balázs