'Dataframe kronecker product per row/date

I have two dataframes in which the date is on the rows and the columns contain features. Now I would like to take the kronecker product of each row of the two dataframes. This way I have one dataframe with the rows containing the dates and for each date the product of all combinations of the features of the two dataframes. Is there an easy way to do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source