Good day, I have a dataframe with region, customer and some deliveries. There is this column used as type of purchase and the first and last purch