Remove duplicate rows if a column value matches

Better to tell all complete requirements and needs at the begin

we didn’t mention such an usage of Math.Abs

we would also use k2=…, k3=…

Also have a look here:

we can also combine LINQ and NON-Linq approaches