想要打印出一个cell中每一行的输出的话:
运行
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
想要打印出一个cell中每一行的输出的话:
运行
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
本文标题:python - jupyter 技巧
本文链接:https://www.haomeiwen.com/subject/crerxltx.html
网友评论