Check this:
var duplicates1 = dtPart.AsEnumerable()
.Where(r => r[7]!=null)
.GroupBy(r => r[7])
.Where(gr => gr.Count() > 1)
.ToList();
or:
var duplicates1 = dtPart.AsEnumerable()
.Where(r => r.Field<data_type>("FieldName")!=null)
.GroupBy(r => r.Field<data_type>("FieldName"))
.Where(gr => gr.Count() > 1)
.ToList();