Repository navigation
np.diagonal implementation - #4431
Conversation
|
Checklist: #2911 |
|
cc @jakirkham , this may interest you |
|
@shoyer or @jrbourbeau any interest in reviewing this? |
|
Yeah, I'll have some time to look at this tomorrow 👍 |
|
Thanks @jrbourbeau !
…On Wed, Jan 30, 2019 at 6:14 PM James Bourbeau ***@***.***> wrote:
Yeah, I'll have some time to look at this tomorrow 👍
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4431 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASszEb2rWJzuJN7V5W-CACZURRVC9BVks5vIlGJgaJpZM4aV0PY>
.
|
jrbourbeau
left a comment
There was a problem hiding this comment.
Thanks for this PR @horta! I've attached a few comments and questions. In particular, I was wondering about the internal rechunk-ing that would happen for a large input Dask array
|
Checking in on this @horta . Is there any other information you need in order to move forward? It would be great to see this go in. |
|
No need for more information. I will get it going tomorrow! |
|
*working on that |
|
This looks pretty good to me. There are a few comments above, but nothing too difficult I hope. |
|
This is coming along nicely, @horta. Will give it another look after you have some time to address the remaining comments. Probably one or two tidy up things in the next (last) iteration I think. |
|
Thanks, @jakirkham . |
|
@jakirkham if you're comfortable with this PR then I encourage you to merge (I'm trying to get more people to become comfortable with pressing the green button). |
|
Thanks @horta, merging! |
|
@mrocklin, as I'd requested feedback from others right before the 3-day weekend, figured I'd wait to see if I heard back this week to give people some time before clicking the merge button. |
|
Alrighty. Sorry to apply pressure :)
…On Tue, Feb 19, 2019 at 8:13 AM jakirkham ***@***.***> wrote:
@mrocklin <https://github.com/mrocklin>, as I'd requested feedback from
others right before the 3-day weekend, figured I'd wait to see if I heard
back this week to give people some time before clicking the merge button.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4431 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AASszNDby0bR_ch-UzMUishO1rMTjXI6ks5vPCLEgaJpZM4aV0PY>
.
|
|
No worries. Thanks for the encouragement. |
|
Just out of curiosity, @horta, were you planning on implementing |
|
@jakirkham sure, I aim to implement that by sunday |
* da.diagonal * no need for asarray * Direct asarray and use of np.diagonal.
flake8 daskI couldn't make
assert sorted(da.diagonal(v).dask) == sorted(da.diagonal(v).dask)work. The calls seems to be deterministic but it cannot sort the graph becausetupleandstrare not comparable. Shall I just remove it?I would like to see
da.diagonalimplemented mainly because ofda.trace, which will become easy to implement once this is done.