thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

Data & Analytics · Intermediate

Wide vs Long Data

Two layouts for the same data: wide has one column per variable value (such as per month); long (tidy) has one row per observation.

Definition

BI tools, SQL aggregation and most plotting libraries work best with long data. Wide layouts suit human-readable reports.

Exam tip

Spreadsheet data with month columns should be unpivoted to long form before modeling.

Related terms