Options

how to remove two identical ID numbers within a single attribute?

LeMarcLeMarc Member Posts: 72 Contributor II
Hi,

I would like to customize an expression which states:

If id attribute consist of two identicial ID numbers,  then delete one of the ID Nrs (doesnt matter which one),
 otherwise do nothing)

Can anybody help how to properly formulate ?

Best Answer

Answers

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,507 RM Data Scientist
    Hi,
    can you give an example for this id?
    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • Options
    LeMarcLeMarc Member Posts: 72 Contributor II
    The goal is to have an example set in which the attribute column "id" doesnt have the same id number twice.
    In this case, there are two examples/rows within the example set which exist twice (id number 23 & 46). Therefore I only want to keep only one example/row of each Id number which exist more than once



  • Options
    LeMarcLeMarc Member Posts: 72 Contributor II
    Thanks @mschmitz!
    Totally forgot about that option/operator.
Sign In or Register to comment.