DUPLICATE
Suppose I have two lists with three distinct values:
list1 = [1,2,3]
list2 = [10,11,12]
I want to create a dataframe which has a row for each possible combination of the two lists. In other words I want a dataframe which looks like this: (Where list1 and list2 are columns)
df = 
list1  list2
  1     10
  1     11
  1     12
  2     10
  2     11
  2     12
  3     10
  3     11
  3     12
I am getting stuck trying to figure out what the best way would be to do this. Note the sizes of the list are larger, I only use so few values as example.