Skip to content

double square brackets not required#3

Open
iamhassaan wants to merge 1 commit intokevinschaich:masterfrom
iamhassaan:master
Open

double square brackets not required#3
iamhassaan wants to merge 1 commit intokevinschaich:masterfrom
iamhassaan:master

Conversation

@iamhassaan
Copy link

We do not need the double square brackets. I have replicated this function and can see similar results of:
.join(df2[[df2_key, df2_value]], df1[df1_key] == df2[df2_key], 'left')
and
.join(df2[df2_key, df2_value], df1[df1_key] == df2[df2_key], 'left').

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant