Replace; getting original and changed values

amotley
amotley New Altair Community Member
edited November 5 in Community Q&A

I am using the replace dictionary operator to standardize some domain values within my data set. However, is there a way to also get the original value and the changed value as an output??

 

Thanks!

Tagged:

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee

    Hi amotley,

     

    you can simply you the original data back on the resulting table.

     

    ~Martin

  • bhupendra_patil
    bhupendra_patil New Altair Community Member

    If I am understanding this well then, What I can suggest is duplicate the original column first, and then do you replace etc on one of those two columns

    You can use the "generate copy" operator which makes a copy or  a  "generate attributes" to create a duplicate column where the expression will be just the column you want to duplicate.

     

    let us know if we misunderstood the question