discounted_orders = orders[orders["discount"].notna()].reset_index(drop=True)