duplicate_detector_exact

Identify and remove exact duplicate records from pandas datasets.

541|171|Updated May 3, 2018
One-click install
npx skills add https://github.com/cas-bigdatalab/piflow --skill duplicate-detector-exact
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: duplicate_detector_exact
Source: https://github.com/cas-bigdatalab/piflow/tree/main/workspace/skills/duplicate_detector_exact
Command: npx skills add https://github.com/cas-bigdatalab/piflow --skill duplicate-detector-exact

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, openpyxl, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of identifying and removing exact duplicates from datasets, streamlining data cleaning processes.

Core Features & Use Cases

  • Exact Duplicate Detection: Identify and handle fully identical records across all or specified fields.
  • Retention Strategy: Choose to keep the first occurrence, last occurrence, none, or mark duplicates.
  • Use Case: Ideal for data preprocessing in scenarios where unique records are crucial, such as customer database management or financial reporting.

Quick Start

Run the duplicate_detector_exact skill to remove duplicates from 'data.csv' and save the results to 'deduped.csv'.

Frequently Asked Questions about duplicate_detector_exact

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove exact duplicate records from a CSV file using pandas?

This Skill removes exact duplicates from CSV files by identifying fully identical records across all or specified fields, then applying a retention strategy to keep the first, last, or no occurrences, saving the cleaned dataset to a new file.

What is the best way to clean duplicate entries in customer databases and financial reports?

Cleaning duplicate entries in customer databases and financial reports requires identifying fully identical rows. This Skill handles exact duplicate detection to ensure unique records, which is crucial for accurate data preprocessing in these data-intensive operations.

Can I choose which occurrence to keep when detecting exact duplicates in pandas?

Yes, you can choose a retention strategy when detecting exact duplicates. This Skill allows you to keep the first occurrence, keep the last occurrence, keep none, or simply mark the duplicate records for review during data preprocessing.

Do I need openpyxl to run exact duplicate detection on my datasets?

You need pandas for data manipulation and comparison, and openpyxl is required as a dependency to run this exact duplicate detection Skill, ensuring proper handling of your dataset files during the deduplication process.

Does this exact duplicate detector work on specific fields or only entire rows?

This exact duplicate detector works on both entire rows and specified fields. It identifies fully identical records across targeted columns in your dataset, allowing flexible data cleaning based on your specific preprocessing requirements.