When I start doing ad-hock manipulation in console -> I will create a Jupyter notebook instead to potentially reuse the code later
the dev experience is often superior too
reference