Do you know of any service offering hosted VSCode? The problem happens when my data is too large for my computer. In such cases it is much easier to use hosted Jupyter than run Python code on a server.
I did try this, but it kind of did not work well for me. Since it requires a continuous ssh connection, and my connection kept dropping, the experience was not great. But maybe that was my internet. Need to give it a second attempt.