Skip to content

Instantly share code, notes, and snippets.

@tcovert
Created May 16, 2016 15:36
Show Gist options
  • Save tcovert/8770785387018a2590505bb0087cda21 to your computer and use it in GitHub Desktop.
Save tcovert/8770785387018a2590505bb0087cda21 to your computer and use it in GitHub Desktop.
using DataFrames
df1 = DataFrame(v1 = rand(Int16, 500))
df2 = DataFrame(v2 = rand(Int16, 500))
df = join(df1, df2, kind = :cross)
# this works
groupby(df, [:v1, :v2])
# this doesn't
pool!(df, :v1)
pool!(df, :v2)
groupby(df, [:v1, :v2])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment