You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of having result of cartesian poduct as a very large iterator.
The result can be grouped by another iterable items which wil result in 3D iterable instead of 2D iterable.
prodius.product([0,1], [2,3]) -> [(0, 2), [0, 3), (1,2), (1,3)]
# First iterable was used for grouping
product.product_group([0,1], [2,3]) ->[[(0, 2), (0, 3)], [(1,2), (1,3)]]
# Same thing be archieved as
product.product_group([2,3], group=[0,1]) ->[[(0, 2), (0, 3)], [(1,2), (1,3)]]
The text was updated successfully, but these errors were encountered:
Forcetable already has basic implementation of it.
But can be easily done using prodius.product() but individually on items of iterable with items for grouping.
Instead of having result of cartesian poduct as a very large iterator.
The result can be grouped by another iterable items which wil result in 3D iterable instead of 2D iterable.
The text was updated successfully, but these errors were encountered: