def remove_skipped_unplanned_cancelled(data):
    """Remove skipped stop, unplanned or cancelled trips."""
    perturbations = (
        (~data["skipped_stop"]) & (~data["unplanned_trip"]) & (~data["cancelled_trip"])
    )
    data = data[perturbations.values].drop(
        labels=["skipped_stop", "unplanned_trip", "cancelled_trip"], axis=1
    )
    return data