from pandas import DataFrame def operate(x: DataFrame, weight: float, bias: float) -> DataFrame: return x * weight + bias