2 ms·
I've been clearing my output using nbconvert before putting the notebook into version control. I have a precommit hook and a check in CI. This works for my use
by snilzzor 8y ago
I've been clearing my output using nbconvert before putting the notebook into version control. I have a precommit hook and a check in CI. This works for my use case but I can understand needing to preserve output.
jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace my_notebook_name.ipynb