I have the following DataFrame, and I\'m trying to find for each customer, when the first date (in ascending order) does the flag column = Y
df = { "cu