compare_profiles
Compare two dataset profiles to identify differences in rows, columns, null counts, and data types. Get a side-by-side diff and a human-readable summary.
Instructions
Compare two dataset profiles and produce a side-by-side diff.
Pass the JSON strings returned by profile_dataset() for the original
and cleaned files. Returns rows added/removed, columns added/removed,
null count changes per column, type changes, and a human-readable summary.
Args:
before_profile: JSON string from profile_dataset() on the original file.
after_profile: JSON string from profile_dataset() on the cleaned file.
Returns JSON with: row_delta, col_delta, column_diffs (nulls, dtypes),
duplicate_delta, and a human_summary string.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| before_profile | Yes | ||
| after_profile | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |