Consider the following two series.
Let x
be:
x
a 10
b 20
c 30
Name: x_value
And let y
be:
y
d 100
e 200
Name: y_value
Ideally, the result would have a MultiIndex along with the cartesian product of the series' cross values:
x_value y_value
x y
a d 10 100
e 10 200
b d 20 100
e 20 200
c d 30 100
e 30 200
I have seen similar questions (e.g. cartesian product in pandas) about cross merge, but I haven't found anything about Series so far (let alone a MultiIndex of initial indices approach).
The part that seems troublesome to me is how I'd get to work with Series, instead of DataFrames.