I used this exercise as an opportunity to learn a bit more about improving outputs in Jupyter notebooks.
I figured out how to take advantage of the “pretty” formatting for data frames when outputting them in a loop. I also figured out how to display two data frames to display side-by-side using an Hbox widget.
I hope this notebook is a useful example for others on things they can try (and perhaps things to avoid )
I appreciate feedback on my written analysis and my code.