How to join two dataframes and get the cartesian product of all rows in both dataframes.
df1:
values
0 4
1 5
2 6
df2:
values
0 7
1 8
2 9
Expected Output:
values_x values_y
0 4 7
1 4 8
2 4 9
3 5 7
4 5 8
5 5 9
6 6 7
7 6 8
8 6 9