Data.find_duplicates¶
- Data.find_duplicates(xcol=None, delta=1e-08)¶
Find rows with duplicated values of the search column(s).
- Parameters:
datafile (Data) – Data object to work with if not being used as a bound method.
- 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.setasattribute is used. If this is also not set, then all columns are considered.