Skip to content

duplicates

Duplicate rows.

Classes

Functions:

get_duplicates(config, df, supported_columns, n_rows)

The most frequent duplicated rows, computed with one lazy group-by.

Args: config: report settings. df: the frame. supported_columns: the columns that identify a row. n_rows: number of rows of the frame.

Returns: n_duplicates (the number of distinct rows that occur more than once) and p_duplicates, and the duplicates.head most frequent of these rows with their number of occurrences.