Skip to content

[WIP] Add k arg to diag - #5683

Closed
TAdeJong wants to merge 2 commits into
dask:mainfrom
TAdeJong:add_k_arg_to_diag
Closed

TAdeJong wants to merge 2 commits into
dask:mainfrom
TAdeJong:add_k_arg_to_diag

Conversation

@TAdeJong

@TAdeJong TAdeJong commented Dec 5, 2019

Copy link
Copy Markdown
Contributor

This closes #2726 and reduces some code duplication by calling da.diagonal where applicable. This for now breaks by #5661, therefore the WIP, although I don't feel equipped or have the time to solve that issue here.

  • Tests added / passed
  • Passes black dask / flake8 dask

Seems to work now, cleaned out comments.
da.diagonal remains broken however.
@TomAugspurger

Copy link
Copy Markdown
Member

Sorry for the delay in review.

This for now breaks by #5661

Can you expand on that? You're saying #5661 is a blocker for fixing this? I'm looking into that a bit now.

@TAdeJong

TAdeJong commented Feb 6, 2020

Copy link
Copy Markdown
Contributor Author

This reuses code from da.diagonal in da.diag. The test that fails here, fails because of the issue described in #5661, as test_corrcoef() calls da.diag, which since this pull request calls da.diagonal, exposing the bug described in #5661. In principle this code can be merged, except that the test now fails because of #5661.

@TomAugspurger is that clear? Please let me know if something is still unclear

@TomAugspurger

TomAugspurger commented Feb 10, 2020 via email

Copy link
Copy Markdown
Member

@martindurant

Copy link
Copy Markdown
Member

@TomAugspurger , were you working on ironing things out here?

@TomAugspurger

TomAugspurger commented Apr 7, 2020 via email

Copy link
Copy Markdown
Member

@TAdeJong

TAdeJong commented Apr 7, 2020 •

Copy link
Copy Markdown
Contributor Author

For the overview: the other issue would be #5661 , which @jsignell seems to be working on. By the time that is resolved, I would be happy to bring this one into mergable shape.

Base automatically changed from master to main March 8, 2021 20:19
@jcrist

jcrist commented Feb 23, 2022

Copy link
Copy Markdown
Member

Superseded by #8689.

@jcrist jcrist closed this Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dask Array's diag supporting diagonal selection

4 participants