Pandas

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.