'What is the method used by Pandas profiling tool to identify duplicates rows?

I'm looking for the rationale about the method used by pandas profiling tool to identify duplicates rows (in a dataframe with multiple columns)? I couldn't find it in Pandas Profiling documentation.



Solution 1:[1]

See model/summary line 571-575.

In other cases, can be simplified as sum(df.duplicated())

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 loopy