I have several different CSV files like this:
one:
iq, name
69, joe
122, james
...
two:
iq_start, iq_end, category
120,500, Very Superior
120,129, Superior
110,119, High Average
90,109, Average
80,89, Low Average
70,79, Borderline
0,69, Extremely Low
three:
iq, career
69 , manual work
122, doctor
I want to pull the data into pandas , and output the data like this
[
"122" = {
"name" : "james",
"career" : "doctor"
"category" : "Superior"
},
"69" = {
"name" : "joe",
"career" : "manual work"
"category" : "Extremely Low"
}
]
Can panda pull this off or get me some of the way?
csvandjsonmodules. With pandas should work fine as well, but what have you tried already?iq between iq_start and iq_endin pandas?to_jsonmethod, so this should definitely be possible.