Phase 0: Working with Data in Python · ~30 minutes · Python · pandas
Reading Real, Ugly Files
-9999 isn't a temperature. It's a placeholder that looks exactly like a number until it wrecks your average by 300 degrees.
Hiring signal: Treats every suspiciously extreme statistic as a signal to check for an unflagged sentinel value, before trusting it
What you will learn
- Parse a genuine fixed-width data file using documented column positions
- Recognize a missing-value sentinel and explain why it looks identical to real data to a naive parser
- Compute an average with and without correctly excluding a sentinel value
- Diagnose a physically implausible statistic as evidence of an unflagged sentinel
Introduction
Type: Learn Languages: Python, pandas Prerequisites: Lesson 03 (Meet the DataFrame) Time: ~30 minutes
Objective
Learning objectives
- Parse a genuine fixed-width data file using documented column positions
- Recognize a missing-value sentinel and explain why it looks identical to real data to a naive parser
- Compute an average with and without correctly excluding a sentinel value
- Diagnose a physically implausible statistic as evidence of an unflagged sentinel
Unlock the full lesson
You've read the first 2 sections. The rest of this lesson covers The Problem, The Concept, Build, Key Terms & Next — plus a hands-on lab, quiz, and project artifact.
Create a free account to unlock Phase 0 and Phase 1 of every course — no credit card.
Browse all courses · View pricing · DeVenture Academy