Syllabus

  1. 01Regular ExpressionsDescribe text with patterns: literals, alternation, character sets, wildcards, ranges, shorthand classes, quantifiers, groups and anchors, then search, extract, split and replace with Python's re module.7 lessons
    1. 01Patterns and Literals
    2. 02Alternation and Character Sets
    3. 03Wildcards, Ranges and Shorthand Classes
    4. 04Quantifiers
    5. 05Groups and Capturing
    6. 06Anchors, Boundaries and Validation
    7. 07Replacing and Splitting with Regex
  2. 02Tidy DataRecognize untidy data, then fix its structure with pandas: inspect a new dataset, combine many files into one table, reshape between wide and long, and remove duplicate records.4 lessons
    1. 01Diagnosing a Dataset
    2. 02Combining Many Files
    3. 03Reshaping with melt and pivot
    4. 04Finding and Removing Duplicates
  3. 03Cleaning ColumnsFix the contents of columns: split text by position or delimiter, check and convert types, parse values with regular expressions, and decide what to do about missing values.5 lessons
    1. 01Splitting Text by Position
    2. 02Splitting Text at a Delimiter
    3. 03Checking and Converting Types
    4. 04Parsing Text with Regular Expressions
    5. 05Handling Missing Values
  4. 04Project: Cleaning City Survey FilesApply the whole toolkit to a city's neighborhood survey: combine files, remove duplicates, parse money, split packed counts, fill gaps from other columns and answer a question with the clean table.1 lesson
    1. 01Project: Riverton Neighborhood Survey