Potentially of interest, although I’ve done enough d3js to think that .select .head is fine notation:
dfply Version: 0.2.4
GitHub – kieferk from November 28, 2016
“The dfply package makes it possible to do R’s dplyr-style data manipulation with pipes in python on pandas DataFrames.”
https://github.com/kieferk/dfply
from dfply import * diamonds >> select(X.carat, X.cut) >> head(3) carat cut 0 0.23 Ideal 1 0.21 Premium 2 0.23 Good