-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
implement truediv, rtruediv directly in TimedeltaArray; tests #23829
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
6ec1f08
implement truediv, rtruediv directly in TimedeltaArray; tests
jbrockmendel 4c2cc59
test tdi/tdi specifically
jbrockmendel bd2ee96
more checks and test cases
jbrockmendel 3275dd9
Merge branch 'master' of https://github.com/pandas-dev/pandas into gt…
jbrockmendel 79901f5
dont define _override_div_mod_methods, matches for pytest.raises
jbrockmendel adea273
change comment
jbrockmendel da9f743
whatsnew, GH references
jbrockmendel Nov 21, 2018
ba9e490
error msg py3 compat
jbrockmendel 10bb49b
Merge branch 'master' of https://github.com/pandas-dev/pandas into gt…
jbrockmendel 8f276ae
flake8 fixup, raise directly
jbrockmendel 7d56da9
Merge branch 'master' of https://github.com/pandas-dev/pandas into gt…
jbrockmendel 6097789
Merge branch 'master' of https://github.com/pandas-dev/pandas into gt…
jbrockmendel 2037be8
sidestep object conversion
jbrockmendel ffedf35
Merge branch 'master' of https://github.com/pandas-dev/pandas into gt…
jbrockmendel 2fc44aa
dont case result when operating against object dtype
jbrockmendel cd4ff57
Merge branch 'master' of https://github.com/pandas-dev/pandas into gt…
jbrockmendel 641ad20
another GH reference
jbrockmendel e0d696f
Merge branch 'master' of https://github.com/pandas-dev/pandas into gt…
jbrockmendel 7d9e677
comment
jbrockmendel dfc7af4
Merge branch 'master' of https://github.com/pandas-dev/pandas into gt…
jbrockmendel 55cad6b
Fixup rebase mixup, un-skip part of a test that isnt broken after all
jbrockmendel d21ae78
Merge branch 'master' of https://github.com/pandas-dev/pandas into gt…
jbrockmendel d72bf90
flake8 fixup
jbrockmendel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixup rebase mixup, un-skip part of a test that isnt broken after all
- Loading branch information
commit 55cad6b17d70dd12bb088266b1fe03fa401d18bf
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Wouldn't this converted the expected list to an DatetimeArray, while the expected result is on object ndarray? (so it's not really testing that?)
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.
No. In the case where
xboxistm.to_array(the only case that could conceivably give a DatetimeArray),tm.to_array(any_list)returningnp.array(that_list)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.
Ah, OK, all a bit opaque .. (I checked what
get_upcast_boxandbox_expecteddo, but notbox_with_array:-))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.
Yah, I'm hoping to simplify some of it, and ideally even get rid of box_expected, but it'll be a while before thats feasible.