How can i filter rows by one condition (id) which are repeated in two days i have a df, which containing 4 columns: