I'm new in this field and I started working with data by using R. Because of that I find R much easier to approach a data project. But apparently an employer wants you to know an object-oriented? language like Python. So it would be smart to think I can use Python just when I need to deal with a complex programming process, like replacing the na's in Titanic/kaggle project with the average based on name and to use R for anything else? So use them both interchangeably?Beside the fact that Python is more programming oriented I don't see why somebody would use it over R...
Using R and Python together
r;python
Several clarifications: you can program with object-oriented (OOP) concepts in R, even though OOP in R has slightly different syntax from other languages. Methods do not bind to objects. In R, different method versions will be involved based on the input argument classes (and types). (Ref: Advanced R)you can also replace nans with mean / any stat. / value in R using a mask if you store the data in a dataframe (See SO post)There is no problem using them interchangeably. I use R from Python using the package RPy2. I assume it is equally easy to do it the other way round. At the end of the day, any language is only as good as how much the users know about it. Use one that you are more familiar with and try to learn it properly using the vast online resources online.