df = pd.DataFrame([[1.0, 2.0], [3.0, 4.0]], columns=['A', 'B'])
df2 = pd.DataFrame([[5.0, 10.0]], columns=['A', 'B'])
df.div(df2)
df.div(df2.iloc[0])
Python: Divide each row of a DataFrame by another DataFrame vector