🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to create dictionary ?

User: "Harshav"
New Altair Community Member
Updated by Jocelyn
I have two attributes in this format .
att1   att2
a,b     1,2
c,a      4,5

I want to take att1 as keys and att2 as values .I have to generate output in this format.
att3
{a:1,b:2}
{c:4,a:5}

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "kayman"
    New Altair Community Member
    You can use the generate attributes operator for that.
    Use a combination of concat, replace and position. 
    Hi there,

    RapidMiner ExampleSets consist like most dataframes of primitives, not of complex data structures. As in most dataframes, you cannot store dictionaries in ExampleSets.
    Can you maybe describe your problem a bit more? Usually you need to think more SQL-ish to attack the problem properly.

    Best,
    Martin