-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make argmin/max work lazy with dask #3244
Conversation
This looks good @ulijh ! Thanks Could you add a test? Also feel free to give yourself credit in a whatsnew |
Thanks @max-sixty! Sure, I'll do this tomorrow then. |
Guys, if you could have a look at the tests I modified (a4c3622) to check how many times things get computed. I tried to integrate it with the existing tests. The number of count check could possibly be applied to some other tests as well. May be there is a smarter way of doing this? |
Co-Authored-By: Stephan Hoyer <shoyer@gmail.com>
May be this is a stupid question: What's the best way to resolve this conflict, and get the checks to run? Should I do a merge master? Or rebase (seems somewhat of a pain to get the remote up to date)? Thanks for the advice! |
Merge master is enough. I just did it to kick off the tests. |
We recommend using "merge master". It looks like our contributor guidelines
need to be updated here so don't hesitate to ask any questions.
…On Tue, Aug 27, 2019 at 8:53 AM ulijh ***@***.***> wrote:
May be this is a stupid question: What's the best way to resolve this
conflict, and get the checks to run? Should I do a merge master? Or rebase
(seems somewhat of a pain to get the remote up to date)? Thanks for the
advice!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3244?email_source=notifications&email_token=AAJJFVQAAE3MFYV7TYISC5LQGVEY3A5CNFSM4IOZF562YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5IHB2I#issuecomment-525365481>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJJFVVE2BSI2T76X6CAHC3QGVEY3ANCNFSM4IOZF56Q>
.
|
Thanks guys! |
* master: Fix whats-new date :/ Revert to dev version Release v0.13.0 auto_combine deprecation to 0.14 (pydata#3314) Deprecation: groupby, resample default dim. (pydata#3313) Raise error if cmap is list of colors (pydata#3310) Refactor concat to use merge for non-concatenated variables (pydata#3239) Honor `keep_attrs` in DataArray.quantile (pydata#3305) Fix DataArray api doc (pydata#3309) Accept int value in head, thin and tail (pydata#3298) ignore h5py 2.10.0 warnings and fix invalid_netcdf warning test. (pydata#3301) Update why-xarray.rst with clearer expression (pydata#3307) Compat and encoding deprecation to 0.14 (pydata#3294) Remove deprecated concat kwargs. (pydata#3288) allow np-array levels and colors in 2D plots (pydata#3295) Remove some deprecations (pydata#3292) Make argmin/max work lazy with dask (pydata#3244) Add head, tail and thin methods (pydata#3278) Updater to testing environment name (pydata#3253)
As @shoyer pointed out in #3237, nanargmax/min from numpy or dask should be used when not working on object arrays. Also, nanargmin/max were added to the nputils module so they should be using bottleneck if available.
argmax()
causes dask to compute #3237black . && mypy . && flake8
whats-new.rst
for all changes andapi.rst
for new API