Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add left_by/right_by and left_index/right_index to merge_asof() #14253
Comments
|
@chrisaycock can you show an example where they are meaningful? I did have them initially, but I couldn't come up with a good use case. In that the merge-asof is quite restricted in what you are doing with it and the API area pretty much covers it. |
jreback
added Reshaping API Design
labels
Sep 19, 2016
|
The example I'm working through now is that my left table is indexed by timestamp and has a column called 'Ticker', whereas my right table has columns called 'timestamp' and 'ticker'. These are passed in, so I don't have control over what I get. I have to reshape the tables temporarily before calling |
|
@chrisaycock ahh I c. ok, can you update the topsection with an example of using that API then? |
jreback
added Difficulty Intermediate Effort Medium
labels
Sep 19, 2016
jreback
added this to the
Next Major Release
milestone
Sep 19, 2016
jreback
added the
Enhancement
label
Sep 19, 2016
|
@jreback Done. |
This was referenced Oct 14, 2016
jreback
modified the milestone: 0.19.2, Next Major Release
Nov 22, 2016
jorisvandenbossche
closed this
in #14531
Dec 14, 2016
jorisvandenbossche
added a commit
that referenced
this issue
Dec 14, 2016
|
|
chrisaycock + jorisvandenbossche |
84cad61
|
ischurov
added a commit
to ischurov/pandas
that referenced
this issue
Dec 19, 2016
|
|
chrisaycock + ischurov |
82000f7
|
jorisvandenbossche
added a commit
to jorisvandenbossche/pandas
that referenced
this issue
Dec 24, 2016
|
|
chrisaycock + jorisvandenbossche |
9a6a78f
|
yarikoptic
added a commit
to neurodebian/pandas
that referenced
this issue
Jan 3, 2017
|
|
yarikoptic |
5f6a820
|
yarikoptic
added a commit
to neurodebian/pandas
that referenced
this issue
Jan 3, 2017
|
|
yarikoptic |
f3a4da0
|
chrisaycock commentedSep 19, 2016
•
edited
The current
merge_asof()has only one parameter forby, assuming that both DataFrames have the same column name. It does haveleft_onandright_on, so perhaps something similar forbywould be helpful.Also, there is no
left_indexorright_indexparameter inmerge_asof(). Adding these might be helpful too.For example: