Advice on Buying Computers for Data Science Students#
Questions to Ask Yourself#
When thinking about getting a new computer, the three questions you need to ask yourself are:
how budget-sensitive are you,
how long does this need to be your main computer, and
do I actually need a new computer, or can I just upgrade my current computer?
The “how long” question is important because many modern laptops—especially Apple laptops—have a lot of components that you can never upgrade. Ram and hard drives in Mac laptops, for example, are soldered in, so if a hard drive turns out to not be big enough, your only recourse is to buy a new laptop! Given that, you want to think about how long your laptop needs to work for you—if you think it’s gonna have to last you three years, you want to get a laptop with really good specs to help future-proof your purchase. But if you expect to get a new laptop when you finish your Master’s degree in two years, you don’t need to buy a computer that is nearly as future-proof.
Key Specs#
I think the three things you want in a Data Science computer (in order of importance) are:
Enough RAM: I would argue that most important feature of a laptop for a data scientist is RAM. You absolutely want at least 16GB of RAM. And honestly, your life will be a lot easier if you can get 32GB. And if you need a laptop that will last 3 years, I’d say you want 32GB or at least the ability to expand to 32GB later. DO NOT BUY A LAPTOP WITH 8 GB RAM. I promise you’ll regret it instantly.
Storage: A relatively large, fast solid-state drive (an SSD, or another form of flash storage like an M.2 drive). I’d say 512GB is an absolute minimum, though personally, I wouldn’t go below 1TB. Note that external hard drives are poor substitutes for internal harddrives, so don’t get fooled into thinking “oh, it’s small, but I can always get an external drive!”
If you only want this for a year or two, I’d say you probably want double the storage you currently use; if you’re gonna need this computer to last you a while I would say three times what you use now.
A reasonable processor: At least an Intel i7, or an i9 if you can get it (for Windows), or an Apple M-Series chip. >= 6 cores I think. Note that I’m putting processors at the bottom of this list because, perhaps surprisingly, it’s probably the least critical component for a data scientist—that’s because single-core processor performance has not actually been improving all that fast over the last decade or so, and most things you’ll do will be single core.
Which M-series chip do you need? Honestly it doesn’t matter — they’re all a world better than Intel chips, and will be supported for a long time. So I wouldn’t worry too much about the differences between an M1/M1 Pro/M1 Ultra/M2/M3/etc. An M1 Pro or M1 Ultra will be better than an M1 or M2, but not by so much that you should stress it if you don’t have a lot of cash to burn.
From a data science perspective, I don’t think you need to worry about GPUs very much unless you’re buying a desktop. I’m not a serious GPU user, but my understanding is that laptops just don’t come with “good” GPUs by data science standards, I wouldn’t worry about the GPU in your laptop (unless you like playing games).
But don’t I need a super-computer for data science?!
Nah. Don’t get me wrong, you want to be able to open any reasonably sized dataset on your computer and run code easily. But any time you’re doing something really computationally intensive—like a massively parallelized computation and GPU-based training of deep learning networks—you’ll probably just do it on a cloud computer. You don’t want to have to turn to a cloud computer for simple class exercises, but just be aware that you always have that as a safety net for BIG jobs.
Operating Systems#
Most MIDS students end up getting Macs, and I will admit that I prefer them too—that’s because in addition to just being fond of how their desktops integrate with their phones, all Apple computers run on an operating system that is very closely related to Linux (see discussion here). And since nearly all cloud computers run Linux, having a personal computer that has a linux-like operating system means that the skills you learn for working on the command line on your Mac will transfer to cloud computers. But like I said—I’m addicted to iMessages, so maybe that’s just Stockholm syndrome speaking. :-))
Of course, Macs are also expensive, and while there are ways to try to get them cheaper (see notes below), you can definitely get more power from a Windows machine at the same price. Moreover, if you prefer getting a Windows machine for either price or personal preference reasons, you can actually run Linux inside Windows in a remarkably smooth matter with WSL 2. It will add some complexity to your life, but it’s workable!
Finally, if you just want to get an actual Linux laptop, you can do that too! If you decide to go that route, I strongly suggest that you buy it from an established retailer who will make sure that everything is installed and set up when it arrives at your door like System76. But be aware that managing Linux operating system is sure to come with some frustrations, so only do this if you enjoy mucking around and learning how operating systems really work.
Saving Money#
Upgrade Your Current Computer#
Sadly, Macs are harder and harder to upgrade (bear that in mind when you pick your Mac specs if you’re buying new!), but most Windows laptops are upgradable! They come in more shapes and sizes, so it’s hard to give direct guidance for a given model, but a good RAM or hard drive upgrade can make an older laptop feel new!
Go to an Education Store#
Most computer companies offer discounts for students! Hop on over to the Apple Education Store, or go to the Duke Technology store link for some deals on Dell, Lenovo, etc.
Get a Refurb or Older Model#
You really don’t need the newest laptop, I promise. Apple sells some refurbished models (with warranties!), and still sells some of their older models (at least back to M2, and I’d be happy with an M1 if you can find one).
And if you get a Mac, you can often trade in older models for a few hundred dollars.
Specific Suggestions#
If I, in July 2024, were getting a Mac and were trying to get the best value on a budget for a computer I hoped would last for the duration of my two-year Masters program, I’d probably get:
M3 Macbook Air 15”, 24GB RAM, 1TB drive. $2,099 before educational discount.
You’ll spend a lot of time with your computer, so I’d avoid a 13” model, but the 13” Macbook Air with an M2 will save you a few hundred dollars and has plenty of power (just smaller screen).
Or I’d shop the Refurbished Macbook Pro market. Like I said, I have an M1-generation processor and it’s more than powerful enough. BUT:
Avoid the 13” M2 Macbook Pro if you stumble across it—no one likes that computer
I don’t know Windows nearly as well as Apple, so… I’m not gonna weigh in there! :)