I\'m struggling with csv import to nested dictionary. I found a example thats almost perfect for me:
UID,BID,R U1,B1,4 U1,B2,3 U2,B1,2 import csv new_data_d