Skip to content

Bugfixes for arg reductions#1024

Merged
jcrist merged 1 commit intodask:masterfrom
jcrist:argmin_fixes
Mar 3, 2016
Merged

Bugfixes for arg reductions#1024
jcrist merged 1 commit intodask:masterfrom
jcrist:argmin_fixes

Conversation

@jcrist
Copy link
Member

@jcrist jcrist commented Mar 3, 2016

  • Properly handle axis=None case (default). In this case, the result is equivalent to a.ravel().argfunc(axis=0). This is handled in an efficient way, avoiding the need to actually ravel the array.
  • Properly handle arrays larger than 2 dimensions.

Fixes #984, fixes #985.

- Properly handle `axis=None` case (default). In this case, the result is
  equivalent to `a.ravel().argfunc(axis=0)`. This is handled in an
  efficient way, avoiding the need to actually ravel the array.
- Properly handle arrays larger than 2 dimensions.
@mrocklin
Copy link
Member

mrocklin commented Mar 3, 2016

+1

jcrist added a commit that referenced this pull request Mar 3, 2016
@jcrist jcrist merged commit 2597f35 into dask:master Mar 3, 2016
@jcrist jcrist deleted the argmin_fixes branch March 3, 2016 15:56
@sinhrks sinhrks added this to the 0.8.1 milestone Mar 11, 2016
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.argmin errors when no axis is supplied dask.array.argmin fails on 3D input

3 participants