Merging categories in a polynomial

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

I am working with a dataset that involves aviation data which is reported by phase of flight.  I sometimes need to convert a dozen possible phases of flight into only 2, climbing and descending.  How do I look at the phase of flight, compare it to a list that shows which are climbing and which are descending and then create a new attribute that is binomial and either climbing or descending?  I know there has to be an operator that will do this but I am striking out in finding it.

 

Thanks

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee

    Hi,

     

    Replace (Dictionary) is the way to go.

     

    Best,

    Martin

  • scott_reeves
    scott_reeves New Altair Community Member

    Replace (Dictionary) didn't seem to make sense to me but while researching that I came across the Map operator and that worked perfectly!

     

    Thanks!

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.