DataFrameComparison.change_counts#
- DataFrameComparison.change_counts(
- column: str,
- /,
- *,
- lazy: Literal[True],
- include_sample_primary_key: bool = False,
- DataFrameComparison.change_counts(
- column: str,
- /,
- *,
- lazy: Literal[False] = False,
- include_sample_primary_key: bool = False,
Get the changes of a column, sorted in descending order of frequency.
- Parameters:
column – The name of the column to compare.
lazy – If
True, return a lazy frame. Otherwise, return an eager frame (default).include_sample_primary_key – Whether to include a sample primary key for each change.
- Returns:
A data frame or lazy frame containing the change counts of the specified column, sorted by count with the most frequent change first.