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

Replace wording

mengkoon007mengkoon007 Member Posts: 30 Contributor II
edited November 2018 in Help

Hi,

 

I have included a SQL statement in the read database oprerator, and manage to get the result. However, as per below picture, I need to replace those "Question" with wording, for example:

1 => Q1. How do you find the workplace?

2 => Q2. How do you find the job?

 

I am not sure if replace operator can be used and what should I set for the parameter? Can someone please kindly help. Thanks.

 

Replace.png

Database.png

Tagged:

Best Answer

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Solution Accepted

    Hi,

     

    first of all i would really recommend to use RM version 7. 

     

    Second: Did you think about a join? Create a table (in excel or in the data editor) with

    QuestionID      Question

    1                   How do you find the workplace?

    2                   How do you find the job?

     

    and join on the this ID. That's the cleanest way for me to do it. Especially if you have a growing table of questions.

     

    ~Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.