I habe a python dictionary like this one with 4 different value categories:
big_dict = {'num1' : '4', 'num5' : '1', 'num23' : '3', 'num2' : '3',...}
What i want to do ist split the big dictionary by the four value categories:
dict_3 = {'num23' : '3', 'num2' : '3',....}
dict_1 = {}
...
After that i want to split each of these smaller into new dicts each containing 80% and 20% of the data. So basically like that:
dict_3_80 = 80% of dict_3
dict_3_20 = 20% of dict_3
...
Thanks in advance!