Skip to content
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

Adding copyto function to Dask Array #5114

Closed
jakirkham opened this issue Jul 18, 2019 · 3 comments
Closed

Adding copyto function to Dask Array #5114

jakirkham opened this issue Jul 18, 2019 · 3 comments
Labels

Comments

@jakirkham
Copy link
Member

It would be useful to add the copyto function to Dask Array. This would help when smoothing over the differences between various array-like libraries where copying contents from one array to another would be needed.

Not entirely sure what the implementation would look like, but at a first pass it might be replacing the graph inside the dst object with the one from the src object. Though there may be other needs to consider here. The implementation may need to evolve over time as well.

Some relevant discussion in issue ( numpy/numpy#13831 ).

cc @pentschev

@jsignell
Copy link
Member

This functionality now exists with asarrray right?

@jakirkham
Copy link
Member Author

@pentschev do we still have a need for this? My guess is no, but please correct me if it is needed 🙂

@pentschev
Copy link
Member

At this time, I can't really think of a need for copyto, probably the like= argument has resolved our need. For now I'd say it's safe to close this and we can reopen should we find a use for that in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants