Follow the transformation
Restart/run the analysis from a clean state.
Identify the decision question and strongest supporting evidence.
Move reusable data preparation/calculation into functions or scripts where appropriate.
A notebook records exploratory code and intermediate output; a report is a curated argument for a reader.
A notebook records exploratory code and intermediate output; a report is a curated argument for a reader. Moving from one to the other means selecting only evidence that answers the question, verifying calculations in a reproducible run, ordering results logically and separating findings from methods/diagnostics that do not belong in the main narrative.
Learning goal: explain why From Notebook to Report behaves this way, apply it to a small example, and verify the result independently. Begin by being able to justify this first step: Restart/run the analysis from a clean state.
Treat this as a sequence of observable decisions rather than one opaque command. Stage 1: Restart/run the analysis from a clean state. Stage 2: Identify the decision question and strongest supporting evidence. Stage 3: Move reusable data preparation/calculation into functions or scripts where appropriate. Final checkpoint: Write interpretation, uncertainty and limitations in reader-oriented language.
Restart/run the analysis from a clean state.
Identify the decision question and strongest supporting evidence.
Move reusable data preparation/calculation into functions or scripts where appropriate.
Restart/run the analysis from a clean state. For From Notebook to Report, identify the exact state before this stage, the operation or rule applied here, and the observable state afterwards so the mechanism remains inspectable.
Notebook: 25 exploratory cells and 12 plots
Report: 1 method summary + 3 validated findings + 2 decision-relevant figuresThe report is not a screenshot of exploration; it is a reproducible selection of evidence.
For From Notebook to Report, identify exactly what each reported quantity represents, including its units/denominator, and independently recompute one part of the result.
DefinitionThe exact metric/selection/comparison being computed.EvidenceTable, formula or visual that answers the question.AuditIndependent count/total/rule check that can reveal an error.Use From Notebook to Report when it answers a defined question in Reporting & Reproducibility and its inputs/assumptions match the current data or program state.
Reconsider From Notebook to Report when the required information is unavailable, the operation would violate a validation/data boundary, or a simpler operation answers the question more transparently.
Construct a tiny example of From Notebook to Report. First restart/run the analysis from a clean state. Then identify the decision question and strongest supporting evidence. Predict the result before execution and explain one boundary or failure case.
Which approach best demonstrates understanding of From Notebook to Report?
Step 1Restart/run the analysis from a clean state.Step 2Identify the decision question and strongest supporting evidence.Step 3Move reusable data preparation/calculation into functions or scripts where appropriate.Step 4Choose final tables/plots with consistent definitions.