statbandit.wordpress.com
pandas “transform” using the tidyverse
Chris Moffit has a nice blog on how to use the transform function in pandas. He provides some (fake) data on sales and asks the question of what fraction of each order is from each SKU. Being a R n…