Skip to content

Instantly share code, notes, and snippets.

@csaid csaid/dplython
Created Mar 30, 2016

What would you like to do?
from dplython import *
diamonds >> group_by(X.cut) >> summarize(mean_x = np.mean(X.x), var_y = np.var(X.y))
diamonds >> group_by(X.cut) >> mutate(mean_x = np.mean(X.x), var_y = np.var(X.y))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.