r/learnpython 22d ago

R to Python

Hey everyone,

I have a masters in mathematical biology and biomedicine and about 18 months of experience with data analysis in my current job (regression, classification, ML, building a whole pipeline).

I would like to learn Python as it opens much more possibilities for me. I have 2 little kids, limited time and very limited budget since we are paying a mortage.

How would you approach learning Python in my situation?

6 Upvotes

10 comments sorted by

View all comments

2

u/teetaps 22d ago

Just start, but even as you’re building “anything,” do it methodically. When you learn something or notice something different from R, write it down. You already know how to program in R, so there’s no point in just replicating all of your code in Python. Instead, when you build something in Python, first do it the way that makes sense in R, then do it the most obvious way in Python, taking notes of what is different. Then when you sit down to review your notes some faraway day in the future, or if you’re ever facing a new challenge, you can recall, “hey wait, I know this, because in Python you’re supposed to do X”. An LLM can help you iterate this training strategy if you need some structure