I have a PANDAS dataframe with three string columns that looks something like this:
Name     Surname    MiddleName
James    Bond       A
Maggie   Sweenie    B
I want to create a kind of outer join within the table so that every possible combination of Name, Surname and MiddleName is output. The output that I am looking for is:
Name     Surname    MiddleName
James    Bond       A
Maggie   Sweenie    B
James    Sweenie    A
James    Sweenie    B
Maggie   Bond       A
Maggie   Bond       B
Any ideas what's the most efficient way to do this ?
 
     
     
    