How to multiply multiple column dataframe to another single column df in Python? : I'm trying to multiply two dataframes:(3868 rows x 758 columns) and (3868 rows x 1 column)

Below codes give me error:operands could not be broadcast together with shapes (14961424,) (3868,) 

free_float = pd.DataFrame(free_float)

weights = pd.DataFrame(weights )

columns = weights.columns

weights[columns] *= free_float['A']

