I would like to make two lists, list1=["A","B"] and list2=[2008, 2009] and randomly select 1000 combinations from these 2 lists (e.g., ("A",2008), ("A",2009), ("B",2009),...). Then for each of these combinations I would like to run a two-step loop in my dataset (using `i'="A" and `j'=2008 in one iteration for example).
-
Login or Register
- Log in with
Comment