What is the best way to use Jupyter notebooks and Github? The diffs in the comments are barely readable, and I recall being some wah to handle it properly. Could somebody help me here?

@mpm The best approach is to clear all output cells before committing. Of course, this can be tedious to remember every time, so there are bash scripts you can install within your directory to run automatically for you, e.g. gist.github.com/ageron/c9ad56e

I also really like Google Colab for collaborating on notebooks! Then slowly move functions into a module that is git-committed and imported, as things start to shore up.

Follow

@janeadams Thanks for your recomendations!

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.