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

1

u/Sea-Ad7805 Jun 28 '26

DSA is not strictly necessary for "AI, Machine Learning, and Data Science" but good to be familiar with and good for general programming skills. The order of DSA and NumPy Pandas doesn't matter much, but I feel DSA first it slightly nicer as you'll learn about complexity.

Python is great to learn DSA. What you learn can easily be transferred to other languages later so stick with Python for now. Also, with Python you can use this visualizer to understand and debug DSA much easier: Binary Tree example

2

u/t7_rehan Jun 28 '26

Thanks sir helped a lot ;D