Creating new ExampleSet by combining attributes from different blocks

syedghouri68
syedghouri68 New Altair Community Member
edited November 2024 in Community Q&A

Hello

 

I would like to know how can we append columns side by side coming from different operators into one. 

For instance, I have columns c1,c2 as output from one operator and c3,c4,c5 is from another operator.

 

I am looking for a operator which would give me all c1,c2,c3,c4,c5 together in one ExampleSet.

Length of all columns is same.

 

Thank you

Syed

Tagged:

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    If there is a common ID field for both of those data sets, the easiest is to use the Join operator and join by ID.

  • MartinLiebig
    MartinLiebig
    Altair Employee

    Hi,

    what you search for is called join. It works like Join in SQL. You might need to create an ID on both tables first.

     

    ~Martin