You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run a cell to add some variables and then remove variables in the cell and run it again the old variable remains there. Are these essentially global across all cells? If so should we support deleting them on the kernel via a button?
The text was updated successfully, but these errors were encountered:
You can 'del x' in a python cell. That is how you destroy a python object. That should make the variable disappear in the variables view.
But yes variables are global. The 'kernel' is a python process that is shared amongst all of the cells in a notebook. The cells you run don't go away until you restart the kernel.
Testing #10170
If I run a cell to add some variables and then remove variables in the cell and run it again the old variable remains there. Are these essentially global across all cells? If so should we support deleting them on the kernel via a button?
The text was updated successfully, but these errors were encountered: