suggest_cleaning
Analyze a dataset profile and return recommended cleaning operations like handling nulls, duplicates, and whitespace, with rationale and priority.
Instructions
Profile a dataset and return specific recommended cleaning operations.
Analyses the profile and suggests operations with rationale, e.g.:
- "col 'age' has 12% nulls → consider fill_na or drop_na_rows"
- "7 duplicate rows detected → apply drop_duplicates"
- "col 'name ' has leading/trailing whitespace → apply strip_whitespace"
Args:
path: Absolute local path to the dataset file.
Returns JSON with profile summary and a list of suggested operations,
each with: operation, column (if applicable), rationale, priority (high/medium/low).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |