promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_

Groupby, joins, and first features — step 7 of 7

Checkpoint

One last thing before we move on. pass this to mark the lesson done, or skip and keep moving. hop to the next when you're ready.

Checkpoint. Write left_join(users, features, default): return one row per user (the whole population), attaching that user's features or default when missing — plus a row-count guard that proves the join didn't explode. Print each row, then the guard verdict.

full-screen editor opens — close anytime to keep reading.