मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट41k · #6608

clean-data-xls

यह क्या करती है

यह स्किल AI एजेंट को विश्लेषण से पहले स्प्रेडशीट का अव्यवस्थित डेटा सुधारना सिखाती है। यह उन सबके लिए है जिनकी स्प्रेडशीट में फॉर्मेट गड़बड़ हों, डुप्लिकेट हों या गलतियाँ हों।

कब इस्तेमाल करें

  • ✓जब स्प्रेडशीट में नाम, अक्षरों का रूप या तारीख का फॉर्मेट अलग-अलग हो।
  • ✓जब नंबर टेक्स्ट के रूप में सेव हों और उनका जोड़ ठीक न आए।
  • ✓जब विश्लेषण से पहले डुप्लिकेट पंक्तियाँ हटानी हों।

Skill का लिंक

https://github.com/anthropics/financial-services/blob/main/plugins/vertical-plugins/financial-analysis/skills/clean-data-xls/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/anthropics/financial-services/blob/main/plugins/vertical-plugins/financial-analysis/skills/clean-data-xls/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस बिक्री शीट को साफ़ कीजिए, ताकि तारीखें, नंबर और ग्राहकों के नाम एक जैसे हों।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट हर कॉलम की जाँच करता है और अतिरिक्त स्पेस, मिले-जुले तारीख फॉर्मेट और डुप्लिकेट जैसी समस्याएँ ढूँढता है। बदलाव लागू करने से पहले वह सुधार सुझाता है। यह खुले Excel ऐड-इन में या फ़ाइल पर काम करती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Clean Data

Clean messy data in the active sheet or a specified range.

Environment

  • If running inside Excel (Office Add-in / Office JS): Use Office JS directly (Excel.run(async (context) => {...})). Read via range.values, write helper-column formulas via range.formulas = [["=TRIM(A2)"]]. The in-place vs helper-column decision still applies.
  • If operating on a standalone .xlsx file: Use Python/openpyxl.

Workflow

Step 1: Scope

  • If a range is given (e.g. A1:F200), use it
  • Otherwise use the full used range of the active sheet
  • Profile each column: detect its dominant type (text / number / date) and identify outliers

Step 2: Detect issues

Issue What to look for
Whitespace leading/trailing spaces, double spaces
Casing inconsistent casing in categorical columns (usa / USA / Usa)
Number-as-text numeric values stored as text; stray $, ,, % in number cells
Dates mixed formats in the same column (3/8/26, 2026-03-08, March 8 2026)
Duplicates exact-duplicate rows and near-duplicates (case/whitespace differences)
Blanks empty cells in otherwise-populated columns
Mixed types a column that's 98% numbers but has 3 text entries
Encoding mojibake (é, ’), non-printing characters
Errors #REF!, #N/A, #VALUE!, #DIV/0!

Step 3: Propose fixes

Show a summary table before changing anything:

Column Issue Count Proposed Fix

Step 4: Apply

  • Prefer formulas over hardcoded cleaned values — where the cleaned output can be expressed as a formula (e.g. =TRIM(A2), =VALUE(SUBSTITUTE(B2,"$","")), =UPPER(C2), =DATEVALUE(D2)), write the formula in an adjacent helper column rather than computing the result in Python and overwriting the original. This keeps the transformation transparent and auditable.
  • Only overwrite in place with computed values when the user explicitly asks for it, or when no sensible formula equivalent exists (e.g. encoding/mojibake repair)
  • For destructive operations (removing duplicates, filling blanks, overwriting originals), confirm with the user first
  • After each category of fix (whitespace → casing → number conversion → dates → dedup), show the user a sample of what changed and get confirmation before moving to the next category
  • Report a before/after summary of what changed
अक्सर पूछे जाने वाले सवाल

क्या यह मेरा डेटा बिना बताए बदल देगी?

नहीं। स्किल पहले सुधार सुझाती है, ताकि आप उन्हें लागू होने से पहले जाँच सकें।

यह कौन सी समस्याएँ पकड़ सकती है?

स्पेस, अक्षरों का रूप, टेक्स्ट में संग्रहित नंबर, मिली-जुली तारीखें, डुप्लिकेट, खाली जगहें, मिले-जुले डेटा प्रकार, एन्कोडिंग की गलतियाँ और फ़ॉर्मूला की गलतियाँ।

क्या यह शीट का सिर्फ़ एक हिस्सा साफ़ कर सकती है?

हाँ। आप उसे एक रेंज दे सकते हैं, नहीं तो वह सक्रिय शीट के पूरे उपयोग वाले हिस्से पर काम करेगी।

जानकारी

लेखक का मूल विवरण

Clean up messy spreadsheet data — trim whitespace, fix inconsistent casing, convert numbers-stored-as-text, standardize dates, remove duplicates, and flag mixed-type columns. Use when data is messy, inconsistent, or needs prep before analysis. Triggers on "clean this data", "clean up this sheet", "normalize this data", "fix formatting", "dedupe", "standardize this column", "this data is messy".

repo: anthropics/financial-services

लोकप्रियता

GitHub स्टार
41k
रैंकिंग में स्थान
#6608
लाइसेंस
Apache-2.0
अपडेट की गई
28/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

audit-xls

41k

आपके एजेंट को स्प्रेडशीट में फ़ॉर्मूला त्रुटियों, हाथ से डाली गई संख्याओं और टूटे लिंक की जाँच में मदद करती है, किसी रेंज, शीट या पूरे मॉडल के लिए।

डेटाएनालिसिस और स्प्रेडशीट

earnings-analysis

41k

आपके एजेंट को किसी कंपनी के तिमाही नतीजों पर संक्षिप्त अर्निंग्स अपडेट लिखने में मदद करती है, जिसमें अपेक्षा से बेहतर या कमतर, मुख्य आँकड़े और संशोधित नज़रिया शामिल हैं।

डेटाएनालिसिस और स्प्रेडशीट

earnings-preview

41k

आपके एजेंट को कंपनी के अर्निंग्स रिपोर्ट करने से पहले तैयारी में मदद करती है, जिसमें देखने योग्य मेट्रिक्स, बुल और बियर परिदृश्य, और मुख्य उत्प्रेरक शामिल हैं।

डेटाएनालिसिस और स्प्रेडशीट

model-update

41k

आपके एजेंट को नए नतीजों, मार्गदर्शन या धारणाओं के साथ वित्तीय मॉडल अपडेट करने में मदद करती है, फिर सबसे ज़रूरी बदलाव चिह्नित करती है।

डेटाएनालिसिस और स्प्रेडशीट

मिलती-जुलती skills