Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
BUG: merge_asof only merges by first column of 'by=' list #15676
Comments
|
Interestingly enough, I get the right answer if I
I will have to dig into this further. |
jreback
added Bug Difficulty Intermediate Effort Low Reshaping
labels
Mar 13, 2017
jreback
added this to the
Next Major Release
milestone
Mar 13, 2017
chrisaycock
referenced
this issue
Mar 14, 2017
Closed
BUG: Allow multiple 'by' parameters in merge_asof() when DataFrames are indexed (#15676) #15679
jreback
modified the milestone: 0.20.0, Next Major Release
Mar 14, 2017
jreback
closed this
in 2621b31
Mar 14, 2017
AnkurDedania
added a commit
to AnkurDedania/pandas
that referenced
this issue
Mar 21, 2017
|
|
+ AnkurDedania |
8f410a4
|
mattip
added a commit
to mattip/pandas
that referenced
this issue
Apr 3, 2017
|
|
+ mattip |
793e262
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
seibs commentedMar 13, 2017
Code Sample, a copy-pastable example if possible
Problem description
merge_asof does not seem to be working with multiple "by" keys. The output looks like it only takes into account the first key in the list - with
key_1first in the list, the output is the same asby=['key_1']and withkey_2first in the list, the output is the same asby=['key_2'].Expected Output
Actual Output
Output of
pd.show_versions()