LightMySky
به انگلیسی

Cleaning Real Data: Missing, Duplicated and Wrong

Real datasets have blanks, repeats, impossible values and three spellings of the same city. Every repair is a decision that changes the result, so a cleaning step has to be written down and defended rather than done quietly.

شروع یادگیری این موضوعبه حساب کاربری نیازی نیست. پیشرفت در همین مرورگر ذخیره می‌شود.

کارهایی که یادگیرنده بعد از این درس می‌تواند انجام دهد

  • Decide between dropping, filling and flagging a column of missing values, with a reason
  • Find duplicates that are not exact copies and choose a matching rule
  • Say how a cleaning choice could change the conclusion of the analysis

۱ · بخوان

Real data has blanks, repeats, impossible values, and three spellings of one city. Every repair changes the result, so you write each cleaning step down and defend it rather than tidying quietly.

Try it together

A city column reads Springfield, springfield, and SPRINGFIELD. You set one matching rule, lower case and trim spaces, and the three collapse into one city. A stable id number never shifts like spelling does, so rows with different ids stay two things.

For missing values you choose drop, fill, or flag, and say why. A blank key is as broken as a repeated one, so rows missing their key need a plan. Dropping fits when the gaps are few and unrelated to the question, while dropping a third of the rows can move the answer.

Before you clean, ask how each choice could move the conclusion. Then write the rule down, because a different rule can give a different answer.

Match near duplicates with one written rule, handle blanks by drop, fill or flag, and show how each choice moves the answer.

The rewritten primary-key reading was written for this dataset. Reading summaries adapted from OER Commons records (Introduction to Data-Centric AI); license not recorded.

۲ · ببین

به انگلیسی

دور از صفحه‌نمایش

چاپ کاربرگکاغذ A4، با یک صفحهٔ جواب‌ها برای بزرگ‌ترها. بدون صفحه‌نمایش، بدون اینترنت.

جایگاه این موضوع

اول این‌ها را یاد بگیر

پیوندهای اختیاری

این موضوع راه این‌ها را باز می‌کند

سپس تمرین

۸ سؤال پشت این درس منتظرند، هر کدام با پاسخ توضیح‌داده‌شده. هر پاسخ آسمان را پر می‌کند: ستاره‌ها هنگام یادگیری روشن می‌شوند و وقتی زمان برگشتن است کمرنگ می‌شوند.

شروع یادگیری این موضوع