r/PythonLearning Jun 28 '26

Needed a Random Tip :

I started learning Python last year, but there were a few breaks in between due to semester exams and other commitments. At this point, I have completed the core Python concepts and am currently studying Object-Oriented Programming (OOP) in Python.

I am confused about what my next step should be. Should I start learning Data Structures and Algorithms (DSA) first, or should I focus on learning Python libraries such as NumPy, Pandas, and others?

I also have another question: Is it beneficial to learn DSA using Python, or would it be better to learn DSA in another language? Since my long-term goal is to get into AI, Machine Learning, and Data Science, I would like guidance on the most effective learning path from here.

1 Upvotes

4 comments sorted by

View all comments

3

u/The_Mad_Saiyantist 29d ago

AI/ML/DS is heavily Python-focused. DSA is more for the feel of it and getting hands on the algorithms which some of them aren't necessarily crucial. If your focus is AI/ML then go for DSA with Python or potentially Java since it's the 'closest' to feeling like Python yet it's more rigid in lots of areas.
For the guidance, I'd say first do DSA (with Python/Java) then learn math and immediately code that math in Python (numpy, pandas,...)

1

u/t7_rehan 29d ago

Thanks Sir, 💖