how to compute weighted sum of all elements in a row in pandas?,df.dot(weight)