Notebooks Now on Github and Other Updates
Posted by Chris Moffitt in articles
Introduction
In case you missed it, github recently announced that Jupyter notebooks will be natively rendered by github. This useful new feature will make it easier for followers of pbpython to view notebooks through github as well as download them to your local system and follow along.
I have moved over 4 notebooks to github and set up the associated files so that it should be pretty straightforward for anyone to checkout the pbpython repo and work with the notebooks. This will also make it easier for others to follow along and help spot issues and make this collection of tips and tricks even more robust.
This post also contains a couple of helpful links I wanted to pass on and keep record of because I think they are really useful.
Notebooks
The following blog posts now have their notebooks in github:
- Combining Data From Multiple Excel Files - notebook 1
- Common Excel Tasks Demonstrated in Pandas - Part 2 - notebook 2
- Tips for Customizing Your Ipython and Pandas Display - notebook 3
- Pandas Pivot Table Explained - notebook 4
Going forward, I plan to put new notebooks, code and data samples in the repo. The nice thing about this approach is that you can still use nbviewer if you’d like. I did find that there are some cases where the nbviewer rendering looks a little nicer.
Helpful Links
Many of you may have also noticed that pandas did have a new release recently. I have not had time to look into the new features in more detail but did notice that the documentation has included graphical representations of the various merge, join and concatenate options. I personally find these really helpful for quickly understanding how the various functions work. If you haven’t looked at them yet, I encourage you to bookmark them and study them the next time you have the need.
I also found a really useful intro to pandas notebook by Dr. Chris Fonnesbeck. I found the introduction to be well done and showed a couple different useful data sets and manipulations. This is part of a larger collection hosted on github that is also worth checking out.
Comments