promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_promptdojo_

Missing values, dtypes, and the silent model bug — 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 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.