Simple function for building ensembles of iterables that are disjoint partitions of an overall Cartesian product.
Creates records from cartesian product of fields to form table.
Calculates cartesian product from iterables
Cartesian Product - 6x faster than itertools.product - 10x less memory
Cartesian Product for NumPy - 40x faster than NumPy + itertools.product