Python

Learning Python: Part 2

Learning Python This post is a continuation of a learning python. In this post, I will extend the last post and focus on tidyverse equivalents to: Mutate columns Summarize data (Groupby) Pipe functions (%>%) Setting up Python in Rmarkdown Load Modules and Data import pandas as pd import numpy as np url = 'https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2019/2019-05-28/winemag-data-130k-v2.csv' dat = pd.read_csv(url, index_col=0) Settings for better output This blog is built through the blogdown package and uses Rmarkdown files that render to HTML documents.

Learning Python: The Beginning

Learning Python I often see a debate online between Python and R as programming languages for Data Science. I am not interested in continuing that debate here, but rather just want to continue to learn other programming languages and have another tool available to use. I often read online Python is better for general use programming while R was developed with statisticians in mind. If that is the case I think it would be helpful to start learning Python and see where I can use it for my advantage.