R-Markdown document that compares code in R and Python for the most common and basic functions in exploratory data analysis.
The dataset I used is a real-world dataset from Public Health Scotland that contains information on community pharmacy activity. After running the code, you will find the top 40 dispensed items in Scotland in February 2023. (there is no need to download the data, you will retrieve it from the PHS website)
So, whether you're a Python user who needs to use R, or an R user who wants to learn Python, I encourage you to download the RMarkdown document and run it yourself. It's a great way to learn how to use both languages for data analysis.