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

Can you transpose a selection of the data in RM, the transpose operator is for the whole dataset?

2016004120160041 Member Posts: 6 Learner I
This is a sample of the current form of the data
SID 5523Course 1C
SID 5523Course 2D+
SID 5523Course 3B-
and the objective is to transform as follows
 Course 1Course 2Course 3
SID 5523CD+B-
Appreciate your help on this.

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Hi,
    you want to use the Pivot operator.

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • IngoRMIngoRM Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    Hi,
    Martin is right.  You may also want to give Pivot in Turbo Prep a try: https://academy.rapidminer.com/learn/video/turbo-prep-data-pivoting
    Cheers,
    Ingo
  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    edited January 2019
    I now use Turbo Prep every time I need to pivot:

    1. Scott loads data file
    2. Scott does his usual ETL nonsense and realizes he needs to pivot
    3. Scott right-clicks on the output port and jumps to Turbo Prep



    4. Scott drag-and-drops stuff inside TP's pivot tool until he gets what he wants
    5. Scott inserts thing back in to my process and keeps on truckin'.

    That right-click TP jump is life-changing for an ETL geek like myself.

    Scott

Sign In or Register to comment.