Jupyter notebook 在版本控制中清除Jupyter笔记本的特定元数据属性
使用Git保存jupyter笔记本时,我想删除:Jupyter notebook 在版本控制中清除Jupyter笔记本的特定元数据属性,jupyter-notebook,nbconvert,Jupyter Notebook,Nbconvert,使用Git保存jupyter笔记本时,我想删除: 输出(以中文回答) 元数据中的执行时间(以下代码位于.ipynb中) 我可以使用--ClearMetadataPreprocessor.enabled=True删除所有元数据,但我只想删除ExecuteTime元数据 如何在.git/config中更新当前命令 [filter "strip-notebook-output"] clean = "jupyter nbconvert --ClearOutp
- 输出(以中文回答)
- 元数据中的执行时间(以下代码位于
中).ipynb
--ClearMetadataPreprocessor.enabled=True
删除所有元数据,但我只想删除ExecuteTime
元数据
如何在.git/config
中更新当前命令
[filter "strip-notebook-output"]
clean = "jupyter nbconvert --ClearOutputPreprocessor.enabled=True --ClearMetadataPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR"
如何将参数传递给?不幸的是,ClearMetadataPreprocessor除了删除所有元数据之外没有更多的选项。请参见此功能的拉动请求
[filter "strip-notebook-output"]
clean = "jupyter nbconvert --ClearOutputPreprocessor.enabled=True --ClearMetadataPreprocessor.enabled=True --to=notebook --stdin --stdout --log-level=ERROR"