Github has Codespaces. JetBrains has Space. There's Deepnote, CodePen, Google Cloud, Azure, JSFiddle, and probably a hundred other cloud IDEs... When it comes to heavy, GPU-based computation, it's probably more sensible to rent GPU time from a server farm unless you plan to constantly train on your computer. But if you're crunching a large dataset, you're probably not doing serious development at the same time.
With a remote IDE, you can switch laptops and your code should compile exactly how it did on the old laptop.
Then again, a remote IDE might fail you when it matters most, e.g. on a train with no wi-fi on the way to a conference.
Who has experience using remote IDEs? If you're not gaming or creating media content, does it make more sense to drop thousands of dollars/euros/pounds on a top-of-the-line notebook for development when better hardware can be rented (and continually upgraded) and accessed via a cheap notebook?