Using findfirst with for multiple values and columns in a Dataframe?

So try to benchmark this:

df3[searchsortedfirst(1:nrow(df3),0; 
  by=i->(i==0 ? (Date(2024,2,23),Time(10,00,00)) :
  (df3.dates[i],df3.times[i]))
), :]
2 Likes