Would be great if the kind of functionality being added in JuliaStats/DataFrames.jl#1194 was also available here.