Creating a nested dictionary from a CSV file with Python with 2 levels

前端 未结 0 1763
梦毁少年i
梦毁少年i 2020-11-22 04:27

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题