Home > Blockchain >  How to eliminate duplicate DataTable rows?
How to eliminate duplicate DataTable rows?

Time:09-21

I need to remove all rows from a DataTable where any row is a duplicate of any other.

So, {A, B} -> {A, B}, but {A, A, B} -> {B}.

Input:

Source data

my expected output would be:

OutPut

Any suggestion will be helpful.

CodePudding user response:

You need some way of getting a unique value for each row which depends only on the data in the row, this is usually known as a enter image description here

  • Related