Created
June 10, 2016 15:30
-
-
Save tcovert/59644b01465d2e6bfe80ace1a453bbca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using DataFrames | |
df1 = DataFrame(v1 = rand(Int16, 10000), | |
v2 = rand(Int8, 10000), | |
v3 = randn(10000)) | |
df2 = DataFrame(v1 = rand(Int16, 10000), | |
v2 = rand(Int8, 10000), | |
v4 = randn(10000)) | |
# this works | |
df = join(df1, df2, on = [:v1, :v2], kind = :inner) | |
# this doesn't | |
pool!(df1, :v1) | |
pool!(df1, :v2) | |
pool!(df2, :v1) | |
pool!(df2, :v2) | |
df = join(df1, df2, on = [:v1, :v2], kind = :inner) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment