Determining duplicates in a datatable
I have a data table I've loaded from a CSV file. I need to determine which rows are duplicates based on two columns ( product_id and owner_org_id ) in the datatable. Once I've determined that, I can use that information to build my result, which is a datatable containing only the rows that are not unique, and a data table containing only the rows that are unique. I've looked at other examples on here and the code I've come up with so far does compile and execute, but it seems to think every row in the data is unique. In reality in the test data there's 13 rows and only 6 are unique. So clearly