find_duplicates
Identify duplicate rows in Excel sheets based on specified columns. Returns duplicate groups and row indices for cleanup.
Instructions
Identify duplicate rows based on a list of columns.
Args: file_path: Workbook path. sheet_name: Worksheet name. columns: Columns used to determine duplicates. has_header: Whether the sheet has a header row.
Returns: dict: Duplicate groups and row indices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | Yes | ||
| file_path | Yes | ||
| has_header | No | ||
| sheet_name | Yes |