Pandas/Python multiply columns by row
问题 Apologies if this is a simple question. I have two dataframes each with the same columns. I need to multiply each row in the second dataframe by the only row in the first. Eventually there will be more columns of different ages so I do not want to just multiply by a scalar. I have used df.multiply() and continue to get NaN for all values presumably because the two df are not matched in length. Is there a way to multiply each row in one dataframe by a singular row in another? age 51200000.0