shuffdi

Shuffles a dict


Keywords
dict, shuffle, python
License
MIT
Install
pip install shuffdi==0.10

Documentation

Shuffles a dict

from shuffdi import shuffle_dict
print(dict([('sape', 4139), ('guido', 4127), ('jack', 4098)]))
print(shuffle_dict(dict([('sape', 4139), ('guido', 4127), ('jack', 4098)])))

{'sape': 4139, 'guido': 4127, 'jack': 4098}
{'guido': 4127, 'sape': 4139, 'jack': 4098}