Reset underscore (`_`) variable in Jupyter notebook powered by IPython kernel
问题 Edit : The issue has been reported in GitHub. I'm leaving the question here in case it helps other people find the issue (I was not able to). I often use the _ variable for convenience when working in a Jupyter notebook (it returns the output of the latest code execution). However, when _ is used to as a placeholder for an unused variable (a typical use case in Python), it breaks the first use case. Note that this works as expected in an IPython console. Below, _ again holds the latest