For R, the magic (or disastrous) keyword is rm(list=ls()) . For Python, the keyword is %reset -f . All the hard work might be gone in split second, or new fresh workspace is welcomed.

Where Arts Meet Analytics
For R, the magic (or disastrous) keyword is rm(list=ls()) . For Python, the keyword is %reset -f . All the hard work might be gone in split second, or new fresh workspace is welcomed.