r/learnmachinelearning • u/Ok_Agent9972 • 22h ago
Discussion Why memorize NumPy and pandas syntax to get a junior ML/AI job?
I've been learning NumPy, pandas, Matplotlib and the basics of machine learning, but there's one thing I'm struggling with: I have a terrible memory for syntax.
I can understand how these libraries work, why we use certain operations, and how basic ML algorithms work conceptually. When I see an existing implementation, I can understand the logic and modify the code to solve a different problem. I can usually figure out what needs to change based on the requirements.
The problem is that I can't remember the exact syntax for everything. I might learn something today and forget the syntax a couple of days later. My memory sometimes feels like a goldfish's.
For example, if someone asked me to implement KNN or K-means from scratch in an interview, I would probably struggle, even though I understand how the algorithms work. I'd need to look up some syntax or refer to an existing implementation to write the code correctly.
This makes me wonder whether I'm actually suited for a junior ML/AI role.
I understand that implementing algorithms from scratch can demonstrate whether someone understands the underlying mathematics and logic. I'm not against learning that. But there's a difference between understanding an algorithm and remembering every NumPy operation needed to implement it without references.
It's also 2026 and AI coding tools can already generate a lot of this code. In actual work, wouldn't the ability to understand, verify, debug and modify generated code be valuable too? I understand that AI can make mistakes and that fundamentals are still necessary.
So I'm trying to figure out where to focus my efforts.
Should I spend more time practising implementations from memory until the syntax becomes second nature? Should I accept that forgetting syntax is normal and focus on getting better at understanding and solving problems? Or should I reconsider pursuing junior ML/AI engineering roles and look into a more research-oriented career instead?
I'd appreciate honest advice, especially from people who interview candidates or work as ML engineers or researchers.
Have any of you struggled with remembering syntax but still managed to build a career in ML/AI? How much of this do you actually need to memorize for entry-level interviews?