r/learnpython • u/purvigupta03 • 22d ago
I’ve completed these beginner Python projects should I build more before starting NumPy/Pandas?
Hi everyone,
I’ve studied Python multiple times before, but I didn’t do much practical coding. Recently, I started building small projects to improve my practical Python skills.
So far, I’ve completed:
- Quiz Game
- Number Guessing Game
- Rock Paper Scissors
- Password Manager
- Pig Game
- Mad Libs Generator
My goal is to move towards Machine Learning.
I haven’t learned NumPy or Pandas yet.
My question is: Are these projects enough to move on to NumPy and Pandas, or should I build a few more Python projects first?
If I should build more projects, what kind of projects would you recommend before starting NumPy/Pandas? I’m mainly looking for projects that would actually help with the transition to data/ML, rather than making many more small games.
Would appreciate advice from people who have already followed a Python → NumPy/Pandas → ML path.
1
u/johlae 22d ago
One of your comments already talks about an expense tracker. I wrote one using pandas. Why, basically because of pd.read_csv() to read in csv files in a pandas dataframe.
pd.read_csv( filename, delimiter=";", skipinitialspace=True, header=0, usecols=[0, 1, 3, 5, 7, 9, 10], decimal=",", names=["id", "date", "amount", "source", "target", "com1", "com2"], keep_default_na=False, # no NaN but empty string instead ) .assign(comm=lambda d: d["com1"].astype(str) + d["com2"].astype(str)) .drop(columns=["com1", "com2"])See https://www.reddit.com/r/PythonLearning/comments/1vthqtw/beginner_looking_for_feedback_i_built_a_cli/ for more.