python dict order shuffle
..
import random
d = {'a':1, 'b':2, 'c':3, 'd':4}
l = list(d.items())
random.shuffle(l)
d = dict(l)
print(d)
..
{'a': 1, 'c': 3, 'b': 2, 'd': 4}
The study blog from marearts.com
Computer Vision & Machine Learning Research Laboratory
..
..
{'a': 1, 'c': 3, 'b': 2, 'd': 4}