How to store each iteration of the loop with different filenames ?

User: "Harshav"
New Altair Community Member
Updated by Jocelyn
Fore each iteration ,I get one dataframe which needs to be stored with the table name as table_name_{value}.Can you suggest me how to store all loop results with different table names

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "BalazsBaranyRM"
    New Altair Community Member
    Accepted Answer
    Hi,

    in the Write Database operator (and almost everywhere else) you can use macros in the "table name" parameter. 

    It would be something like: table_name_%{loop_nr}

    The iteration number would be in a macro, this is mostly automatic with the Loop operators in RapidMiner.

    There are different videos for macros in the Academy if you'd like to learn more about them:
    https://academy.rapidminer.com/catalog?query=macros

    Regards,
    Balázs
    User: "MartinLiebig"
    Altair Employee
    Accepted Answer
    Hi,
    I think you can use the normal Generate Macro within a Radoop Nest. Not sure though - please give it a try.

    Best,
    Martin