df = pd.DataFrame({'A': [1.0, 1.0, 1.0, 2.0, 2.0, 2.0], 'B': np.arange(1.0,
    7.0)})
vector = np.array([2, 2, 2, 3, 3, 3])
df.mul(vector, axis=0)
Get dot-product of dataframe with vector, and return dataframe, in Pandas