I have two dataframes below. I need to add a column to a dataframe from another dataframe.
DataFrame 1:
index   A       
 0      UK
 1      RSA
 2      US
DataFrame 2 :
index  B
 0     UK 
 1     CF
 2     AT
I need output like below.
index   A    B
  0     UK   UK
  0     UK   CF
  0     UK   AT
  1     RSA  UK
  1     RSA  CF
  1     RSA  AT
  2     US   UK
  2     US   CF
  2     US   AT
I tried merge, concat, and join, but it didn't workout. Please help me on this.
 
    