Lesson 66 of 1169
Rows and Columns: The Atoms of Data
Almost every dataset you will meet in AI starts as a table. Rows are examples. Columns are features. Learn this and half the battle is won.
Explorers · AI Foundations · ~11 min read
The Universal Table
Pick almost any dataset in the world, from student grades to the famous Iris flowers dataset from UCI, and it will probably look like a table. Rows going down, columns going across. This simple shape is the workhorse of data science.
Example: the Titanic dataset
Kaggle has a beginner-famous dataset about the Titanic. Each row is one passenger. Each column is one thing we know about that passenger: name, age, ticket class, whether they survived.
Compare the options
| Name | Age | Class | Survived |
|---|---|---|---|
| Miss. Elizabeth Gladys Dean | 8 | 3rd | Yes |
| Mr. Owen Harris Braund | 22 | 3rd | No |
| Mrs. John Bradley Cumings | 38 | 1st | Yes |
Vocabulary you will hear
- Row = record = example = instance = sample
- Column = feature = attribute = variable = field
- Cell = value at one row and one column
When tables go wrong
- Two things stuffed into one row
- A column that means different things in different rows
- Empty cells that should not be empty
- Duplicate rows of the same person
The big idea: rows are examples, columns are properties. This simple mental model will carry you from your first spreadsheet to training a million-row model.
End-of-lesson quiz
Check what stuck
8 questions · Score saves to your progress.
Lesson help
Questions are best handled with a grown-up here.
For this age range, Tendril keeps freeform AI chat paused until parent/guardian consent and child-safe moderation are fully verified. Use the quiz, notes, and related lessons below, or ask a parent, guardian, teacher, or librarian to work through the question with you.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Explorers · 15 min
What Is Data, Anyway?
Data is just recorded facts. Everything around you, from your heartbeat to your Spotify history, can become data. That storage is what lets AI learn from it later.
Explorers · 18 min
Structured vs. Unstructured Data
Some data fits neatly into boxes. Some data is a messy glob of text, images, or audio. Both matter, but they are handled very differently. AI gives us tools to finally make sense of the messy pile that humans have been producing for centuries.
Explorers · 20 min
History Detective: Primary Sources and AI
History class is full of old letters, diaries, and speeches. AI can help you read them, but you still have to think like a detective.
