In Jupyter Notebook I have blocks of Python code and I can run them arbitrarily. What is super cool about that is I can spend 10 minutes training some ML model and then play around with it, without the need to run the training process again and again.
How can I achieve something similar using PyCharm? While I like this feature in Jupyter it is so less convenient to write code.