-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Datetime mergeasof tolerance #28241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datetime mergeasof tolerance #28241
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comments
Thanks for the reminder! I got distracted with school.
…On Mon, Sep 23, 2019 at 10:41 AM alimcmaster1 ***@***.***> wrote:
@ianzur <https://github.com/ianzur> - this is great! Mind updating as per
@jreback <https://github.com/jreback> comments looks like this is almost
there
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#28241?email_source=notifications&email_token=AICYMWMMTMSUQ24OPG4YNQDQLDPSNA5CNFSM4ISTXQ22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7LJPSQ#issuecomment-534157258>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AICYMWKARA6KQ5YMIA3HVCDQLDPSNANCNFSM4ISTXQ2Q>
.
|
Does this need a test? Can we now get rid of the xfail for test_tolerance in test_merge_asof? |
@alimcmaster1 There is already a test in place. The test is not set to xfail. pandas/pandas/tests/reshape/merge/test_merge_asof.py Lines 593 to 605 in 8de8b08
|
@ianzur - LGTM now thanks! Yep see that now (wasn’t showing up earlier) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm though @mroeschke or @jbrockmendel might have some thoughts
Thanks @ianzur. |
* whatsnew * 🐛🔧 * BUG: convert datetime.timedelta to nanoseconds to fix (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * don't change this file * CLN: sort imports * BUG: (pandas-dev#28098) changes * BUG (pandas-dev#28098) some more changes * update whatsnew * BUG: pass timedelta and datetime.timedelta to timedelta
* whatsnew * 🐛🔧 * BUG: convert datetime.timedelta to nanoseconds to fix (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * don't change this file * CLN: sort imports * BUG: (pandas-dev#28098) changes * BUG (pandas-dev#28098) some more changes * update whatsnew * BUG: pass timedelta and datetime.timedelta to timedelta
* whatsnew * 🐛🔧 * BUG: convert datetime.timedelta to nanoseconds to fix (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * BUG: mergeasof() now accepts datetime.timedelta as tolerance kwarg (pandas-dev#28098) * don't change this file * CLN: sort imports * BUG: (pandas-dev#28098) changes * BUG (pandas-dev#28098) some more changes * update whatsnew * BUG: pass timedelta and datetime.timedelta to timedelta
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff