Can we try to groupby the delivery info column? in that way, the column having duplicates records will be grouped and will have unique records only and it won’t repeat while checking condition.
For example
Can we try to groupby the delivery info column? in that way, the column having duplicates records will be grouped and will have unique records only and it won’t repeat while checking condition.
For example