generators.utils.choices
Data - Generators - Choices¤
          Choices
¤
  Generating data by choosing from some given values.
elements = [0,1]
c = Choices(elements=elements)
next(c)
:param elements: the elements to choose from :param seed: seed of the RNG for reproducibility
Source code in eerily/generators/utils/choices.py
              | 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |  |