Skip to content

fix: outstanding occurrences of reblock replaced with rechunk - #3570

Closed
convexset wants to merge 0 commit into
dask:masterfrom
convexset:master
Closed

convexset wants to merge 0 commit into
dask:masterfrom
convexset:master

Conversation

@convexset

Copy link
Copy Markdown
Contributor

I was just exploring the code and noticed the occurrence of reblock in:

https://github.com/dask/dask/blob/master/dask/array/learn.py#L71
https://github.com/dask/dask/blob/master/dask/array/learn.py#L101

... I looked for the implementation and couldn't find any, and later found out that it was replaced with rechunk.

@convexset convexset mentioned this pull request Jun 6, 2018
@mrocklin

mrocklin commented Jun 6, 2018

Copy link
Copy Markdown
Member

Thanks for checking this. The dask/array/learn.py file is quite old and has been untested. I think we're actually likely to drop it from the dask/dask project in the next release and move it to the dask/dask-ml project, hopefully updated. See dask/dask-ml#187

Can I interest you in making this change there instead?

@convexset

Copy link
Copy Markdown
Contributor Author

Seems the fails are of the form...

>   from toolz import concat, unique, count
E   ImportError: No module named toolz

@mrocklin

mrocklin commented Jun 7, 2018

Copy link
Copy Markdown
Member

This happens infrequently if conda fails during tests. I'll go ahead and restart that test.

However, I also think that we should consider closing this PR, and just removing the file entirely, or replacing it with an ImportError with an informative error message pointing to dask-ml

@jakirkham

Copy link
Copy Markdown
Member

Good point. Added a suggested todo to the 1.0.0 release.

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.

3 participants