我开始熟悉 ipython,现在我变成了一个奇怪的错误:Kernel Has Died 谁能建议一个简单的工作流程来解决这个问题?
[IPKernelApp] --existing kernel-dc484a8e-c822-46b1-bc6d-a1e019a67258.json
[NotebookApp] Kernel dc484a8e-c822-46b1-bc6d-a1e019a67258 failed to respond to heartbeat
我也变成了:
"The kernel has died, would you like to restart it? If you do not restart the kernel, you will be able to save the notebook, but running code will not work until the notebook is reopened."
当我尝试运行指令时,总是会出现这个问题:
pieces = {'G-C': Cond.ix[:, [1]],
'G-M': M.ix[:, [1]],
'G-M+A': MA.ix[:, [1]],
'G-M+T': MT.ix[:, [1]],
'G-L': L.ix[:, [1]],
'G-L+A': MA.ix[:, [1]],
'G-L+T': LT.ix[:, [1]]
}