promptdojo_

Missing values, dtypes, and the silent model bug — step 7 of 7

Checkpoint

One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.

Checkpoint. Write column_report(values) returning a dict with n (total), missing (None count), and mean (of the present values, rounded to 1 decimal). This is the isna().sum()-before-you-trust-the-mean habit, as code.

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