While Python is often praised for being a general-purpose language with an easy-to-understand syntax, R's functionality is developed with statisticians in mind, thereby giving it field-specific advantages such as great features for data visualization.
For most data analysis projects, your goal is going to be to create the highest quality analysis in the least amount of time.
If you understand the underlying concepts behind what you’re doing, then you can use either language to perform your analysis.