Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
merge_asof() must be able to operate with timezone-aware DatetimeIndex #14844
Comments
chrisaycock
referenced
this issue
Dec 9, 2016
Closed
BUG: Allow TZ-aware DatetimeIndex in merge_asof() (#14844) #14845
jreback
added Bug Reshaping Timezones
labels
Dec 9, 2016
jreback
added this to the
0.19.2
milestone
Dec 9, 2016
jreback
closed this
in e991141
Dec 10, 2016
yarikoptic
added a commit
to neurodebian/pandas
that referenced
this issue
Dec 12, 2016
|
|
yarikoptic |
e796e8b
|
yarikoptic
added a commit
to neurodebian/pandas
that referenced
this issue
Dec 12, 2016
|
|
yarikoptic |
6c87601
|
yarikoptic
added a commit
to neurodebian/pandas
that referenced
this issue
Dec 12, 2016
|
|
yarikoptic |
dd7e977
|
jorisvandenbossche
added a commit
that referenced
this issue
Dec 15, 2016
|
|
+ jorisvandenbossche |
7f53ea8
|
ischurov
added a commit
to ischurov/pandas
that referenced
this issue
Dec 19, 2016
|
|
+ ischurov |
38b52fd
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
chrisaycock commentedDec 9, 2016
I can perform the following merge just fine:
However, adding a timezone to the DatetimeIndex doesn't work:
I get the oddly worded
The solution is actually very simple.
_AsOfMerge._get_merge_keys()needs to check foris_datetime64tz_dtype()in addition tois_datetime64_dtype()when there is a tolerance. I should also fix the error message to be clearer.