#check whether Speed of each ID in CondB is slower than Speed in CondA+10% AND faster than Speed in CondA#check whether Speed of each ID in CondC is slower than Speed in CondA+10% AND faster than Speed in CondA')]['Speed'] < threshold_upper), #check whether Spee