【发布时间】:2018-10-16 11:56:19
【问题描述】:
How to hide one specific cell (input or output) in IPython Notebook? 中提到的建议不起作用。
在 Windows 上,我执行以下操作
jupyter nbconvert a.ipynb --TagRemovePreprocessor.remove_cell_tags="{'remove_cell'}"
但出现错误
traitlets.traitlets.TraitError: The 'remove_cell_tags' trait of a TagRemovePreprocessor instance must be a set, but a value of type 'unicode' (i.e. u"{'remove_cell'}") was specified.
我也试过'{"remove_cell"}'
我正在使用 nbconvert 5.4.0
任何想法如何做到这一点?
【问题讨论】:
-
你找到解决方案了吗?