Repository navigation
Conversation
|
I haven't looked much in detail but this is a great idea to define the API with respect to Time missing values and scalars. You may want to put |
|
General discussion in #6509 - here just a note that if you want All that said, it would be good if all these tests passed! (Except as @taldcroft noted, remove tests on private properties - those should remain implementation details - possibly including how to get |
|
@mhvk yes, thanks for the pointers. This is what I started with, but I have not yet a working version |
|
@mhvk I started working on this again. But defining
Do I now have to implement every single numpy ufunc in |
e068555 to
de9334e
Compare
|
@maxnoe - indeed, every ufunc has to be dealt with. There is a mixin to let all operators go via the same path, but I'm not sure that is too helpful in this case. That said, I actually hadn't appreciated any ufuncs worked at all on But on reflection/inspection, I see what happens: the ufunc creates an array of Time scalars and let those subtract: So, dealing with those will make things better... (right now, for 10 elements In any case, my sense would be to first of all think of ufuncs where we're adding new functionality, and then worry about those that we've broken. |
|
Hello. I converted your PR to a draft PR due to #10706 . |
|
Hi humans 👋 - this pull request hasn't had any new commits for approximately 1 year, 14 days. I plan to close this in 30 days if the pull request doesn't have any new commits by then. In lieu of a stalled pull request, please consider closing this and open an issue instead if a reminder is needed to revisit in the future. Maintainers may also choose to add keep-open label to keep this PR open but it is discouraged unless absolutely necessary. If this PR still needs to be reviewed, as an author, you can rebase it to reset the clock. If you believe I commented on this pull request incorrectly, please report this here. |
|
Hi humans 👋 - this pull request hasn't had any new commits for approximately 1 year, 14 days. I plan to close this in 30 days if the pull request doesn't have any new commits by then. In lieu of a stalled pull request, please consider closing this and open an issue instead if a reminder is needed to revisit in the future. Maintainers may also choose to add keep-open label to keep this PR open but it is discouraged unless absolutely necessary. If this PR still needs to be reviewed, as an author, you can rebase it to reset the clock. If you believe I commented on this pull request incorrectly, please report this here. |
|
Sorry for the duplicate bot posts. I fixed the bug upstream, hopefully. |
|
I'm going to close this pull request as per my previous message. If you think what is being added/fixed here is still important, please remember to open an issue to keep track of it. Thanks! If this is the first time I am commenting on this issue, or if you believe I closed this issue incorrectly, please report this here. |
Description
For further discussion relevant to #6509, I here add test cases for possible
nan/NaTvalues forastropy.timeobjects.I have also started to look into implementing this.