I'm trying to create a dataframe based on other dataframe and a specific condition.

Given the pandas dataframe above, I'd like to have a two column dataframe, which each row would be the combinations of pairs of words that are different from 0 (coexist in a specific row), beginning with the first row.
For example, for this part of image above, the new dataframe that I want is like de following:

and so on...
Does anyone have some tip of how I can do it? I'm struggling... Thanks!