Tabulate issues
kevindavisross opened this issue · 2 comments
kevindavisross commented
Tabulate issues
kevindavisross commented
I've attached a .pdf with some issues I've encountered while using .tabulate()
Tabulate issues.pdf
dlsun commented
I've just submitted a pull request that fixes the ordering of the outcomes when normalize=True. I think that everything else is working as intended:
- Python doesn't allow you to include unnamed arguments after a named argument to a function.
- For the
xy_pairs
example, the outcomes are actually tuples, i.e.,[(0,0), (0,1), (1,0), (1,1)]
, not lists. Although tuples behave like lists in many ways, they have the benefit of being hashable, which allows them to be put into Python dicts.