Please see https://github.com/pete88b/decision_tree/blob/master/71_tensor_patch.ipynb
I think we have a few choices
- leave as-is
- update
ExecuteShowDocPreprocessor to run all imports
- not complete cells, but any line starting with
from or import
- add a flag to settings.ini to opt-in to new "run all imports" behavior
happy to make a PR either way