I have DataFrame which consist of 3 columns: CustomerId, Amount and Status(success or failed). The DataFrame is not sorted in any way. A CustomerId can repeat multiple times