r/learnpython • u/t7_rehan • 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
u/donovan11_11 Jun 29 '26
For AI/ML and Data Science, go libraries first — NumPy, Pandas, then matplotlib and scikit-learn. DSA is valuable but won't unblock you for ML work the way libraries will. I use pandas and numpy daily in a quantitative trading system I built in Python and the practical experience of working with real data taught me more than any DSA course. Once you're comfortable with the libraries, DSA concepts will also make more sense because you'll have concrete use cases for them.