Given two series:
import pandas as pd ser1 = pd.Series(data = [1,2,3], index=[1,2,3]) ser2 = pd.Series(data = [1,2,3,4,5],
I think need numpy.outer for outer product of two Series:
Series
df = pd.DataFrame(np.outer(ser2, ser1), index = ser2.index, columns = ser1.index) print (df) 1 2 3 a 1 2 3 b 2 4 6 c 3 6 9 d 4 8 12 e 5 10 15