Say I have two dataframes, and they look like this:
1/31
2/28
3/31
and:
black dog
white dog
orange cat
I want my resulting dataframe to be as such:
1/31 black dog
1/31 white dog
1/31 orange cat
2/28 black dog
2/28 white dog
2/28 orange cat
3/31 black dog
3/31 white dog
3/31 orange cat
Is there an easy matrix multiplication to multiply these two panda dataframes together? I am unfamiliar with the syntax to do so, and if I can I want to avoid merge/forloops if possible.