.assign(revenue=lambda df: df["quantity"] * df["price"])