Skip to content

Add output for print statements in pandas chapter - #126

Open
andrewgait wants to merge 3 commits into
mainfrom
112-add-outputs-for-print-statements-in-pandas-essentials-chapter
Open

andrewgait wants to merge 3 commits into
mainfrom
112-add-outputs-for-print-statements-in-pandas-essentials-chapter

Conversation

@andrewgait

Copy link
Copy Markdown
Collaborator

Resolves #112

@andrewgait andrewgait linked an issue Nov 13, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Thank you!

Thank you for your pull request 😃

🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

  • 🎯 correct output
  • 🖼️ correct figures
  • ❓ new warnings
  • ‼️ new errors

Rendered Changes

🔍 Inspect the changes: https://github.com/UoMResearchIT/Programming-With-Python/compare/md-outputs..md-outputs-PR-126

The following changes were observed in the rendered markdown documents:

 06-pandas_essential.md | 165 ++++++++++++++++++++++++++++++++++---------------
 md5sum.txt             |   2 +-
 2 files changed, 116 insertions(+), 51 deletions(-)
What does this mean?

If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.

This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

⏱️ Updated at 2026-11-13 15:47:07 +0000

Comment thread episodes/06-pandas_essential.md Resolved
Comment thread episodes/06-pandas_essential.md Resolved
Comment thread episodes/06-pandas_essential.md Resolved
github-actions Bot pushed a commit that referenced this pull request Nov 13, 2026
@andrewgait

Copy link
Copy Markdown
Collaborator Author

Having marked the above as resolved, I'm now wondering whether it might actually be better if the column rename is much earlier - i.e. before the "Accessing elements, rows, and columns" section?

@Scottan

Scottan commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

Yeah, that makes sense to me, it makes all of the other statements simpler

- Rename the dataframe back to df so the trainer isn't typing out "df_gdpPercap" every time
@github-actions

Copy link
Copy Markdown

Changes were made to copyright notices

There are copyright updates on the (temporary) add-license-headers-to-112-add-outputs-for-print-statements-in-pandas-essentials-chapter-2026-11-13-15-46-28 branch. Please review and merge, or add further commits (this branch will be deleted).

github-actions Bot pushed a commit that referenced this pull request Nov 13, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add outputs for print statements in Pandas Essentials chapter

2 participants