Skip to content

Automated EDA in Insights

Let the profiler find what to worry about, read it through each persona, look at the rows behind each finding, and turn findings into fixes and tests.

Introductory ~13 min12 steps

You will be able to

  • Read the Overview page and rank what needs attention
  • Use personas to change what Insights shows
  • Turn a finding into a Prepare fix or an Analyze test
  • Open the rows and the chart behind a finding, and profile any set of rows
  • Read findings that depend on a third column

Read first

01

What the profiler does

Read

Open a dataset in Insights (⌘5) and it profiles every column: types, missing values, distributions, outliers and relationships. Then it writes down what looks wrong, ranked by severity and by the share of rows affected.

You still decide what matters. Findings are questions a careful colleague would ask, and only you know the answers.

Messy customer list
02

Your first look

In the app

Add the customer list and open it in Insights. Read the Overview from top to bottom: rows, columns, missing cells, duplicate rows, then critical findings, warnings and insights.

03

Which comes first?

Predict

Predict first

The profiler reports three findings on the customer list. Which should you handle first?

Skew in spend_30dMixed date formats in signup_dateWeak correlation of age and spend
Reveal

The answer: Mixed date formats in signup_date

The date formats. A column that isn't parsed yet can't be analyzed at all, and later checks depend on it. Fix errors, then shape, then relationships. Skew may not need fixing, and a weak correlation is a fact rather than a problem.

04

Four personas

Read

The rail lists the same profile through four roles:

  • Analyst: plain-language quality issues, dominant values and trends.
  • Statistician: moments with standard errors, normality screening, outliers and missingness.
  • Data scientist: associations, transformation hints and cardinality.
  • ML engineer: leakage, imbalance, identifiers, duplicates, constants and the schema contract.

Switching persona changes the emphasis, and the data stay the same.

05

From finding to action

Explore

Open a finding and read Why it matters. Most offer a next step:

  • Fix in Prepare opens the fix in a recipe.
  • Test this in Analyze sets up the test, for findings such as skew, outliers and missing values.

Follow one of each and see where it lands.

06

Look at the rows behind a finding

In the app

A finding is a claim about some rows, so look at them. Each finding's actions include:

  • Show the rows opens the rows it's about, in the Data tab or a rows dialog.
  • Open in Explore, or Open in Charts, draws the chart behind it.
  • Add this finding to a report adds it, on its own, to a report's data-quality section.

Two buttons in the Insights header start from the whole dataset. Find unusual rows sets up a robust outlier method in Discover, and nothing runs until you press Run. Suggest next analyses proposes analyses for this dataset.

The profile isn't only for datasets. Profile these rows on a SQL result or a data frame profiles only those rows.

07

Findings that need a third column

Predict

Predict first

Insights reports Link mostly explained by another column: customers who got a mailing bought more, but within each region the gap is small. What do you do first?

Report that mailings raise salesCheck whether region explains itDelete the region column
Reveal

The answer: Check whether region explains it

Check whether region explains it. Region goes with both the mailing and buying, so most of the overall gap is about region. Insights also reports Link reverses within groups when the direction flips, Missing values that go with the target when gaps aren't random, and Same features, different labels when identical rows disagree on the target.

08

Compare two sets of rows

Read

Compare in the rail puts two sets of rows side by side: a group and the rest, two versions, or rows where a column is missing against the others. It shows effect sizes only, sorted by the largest difference. The lesson on comparing groups of rows reads it in detail.

09

The trap in looking at everything

Reflect

A profiler looks at everything, so some findings are noise. A correlation noticed here and then tested on the same data will look more convincing than it should.

If a finding suggests a hypothesis, try to test it on new data, or at least say that the idea came from this data. Which finding on this list would you test, and on what?

10

The Dataset card

Read

The Dataset card collects what readers need: what the data are, how they were checked and their known problems. You can add data quality to a report from the Insights header.

Write down what you learn here. Future you will not remember why age has blanks.

11

Check your understanding

Checkpoint

Check yourself

You're about to train a classifier. Which persona page gives you the most useful first look?

Show the answer

Answer: c

It emphasizes leakage, imbalance, identifiers, duplicates and constants, which are the usual ways a model fails without warning.

Check yourself

Insights reports a strong correlation between email_opens and purchased. How should you treat this?

Show the answer

Answer: b

A profiler can't know the timing or the design. Findings point at places to look.

Check yourself

Insights flags 40 outliers in blood_pressure. What should you do before removing anything?

Show the answer

Answer: b

A finding is a claim about rows. Reading them tells you whether they're errors, codes for "unknown", or real and extreme.

12

Recap

Recap
  • Insights finds what to look at, and you decide what it means.
  • Personas change the emphasis, not the data.
  • Fix errors first, and treat patterns you found here as hypotheses for new data.

Concepts in this lesson