DataFile.find_duplicates

DataFile.find_duplicates(xcol=None, delta=1e-08)

Find rows with duplicated values of the search column(s).

Keyword Arguments:
  • xcol (index types) – The column)s) to search for duplicates in.

  • delta (float or array) – The absolute difference(s) to consider equal when comparing floats.

Returns:

(dictionary of value

[list of row indices]):

The unique value and the associated rows that go with it.

Notes

If xcol is not specified, then the Data.setas attribute is used. If this is also not set, then all columns are considered.