Generate combination of data
Opened this issue · 0 comments
htmfilho commented
Given a set of possible values per column, generate a script with all possible combinations out of those values. For example:
age = [8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
gender = [FEMALE, MALE]
course = [LONG, SHORT]
stroke = [FREE, BACK, BREAST, FLY, MEDLEY]
distances = [50, 100, 200, 400, 800, 1500]
except = [[BREAST, 400], [BREAST, 800], [BREAST, 1500],
[BACK, 400], [BACK, 800], [BACK, 1500],
[FLY, 400], [FLY, 800], [FLY_ 1500]]