df_a = pd.DataFrame(np.random.rand(3, 5), index=['x', 'y', 't'], columns=
    list(range(5)))
df_b = pd.DataFrame(np.random.rand(2, 5), index=['z', 't'], columns=[1, 2, 
    3, 4, 5])
df_a.div(df_b)
Python: Divide each row of a DataFrame by another DataFrame vector