summaryrefslogtreecommitdiff
path: root/numpy/core/function_base.py
diff options
context:
space:
mode:
authorAntoine Pitrou <antoine@python.org>2015-07-01 18:36:53 +0200
committerAntoine Pitrou <antoine@python.org>2015-07-01 18:36:53 +0200
commit84c055591dcf951c805bbfee2ca568884810372b (patch)
tree31b52fd32dbb0b6fb76cceee80ef7a23aed51ddb /numpy/core/function_base.py
parent23e10e18f7951fe040c91134da894f6efdffebe6 (diff)
downloadnumpy-84c055591dcf951c805bbfee2ca568884810372b.tar.gz
BUG: fix argmin() with NaTs
np.min() skips NaT values, but np.argmin() wouldn't: since the internal representation of NaT is smaller than every other datetime64 or timedelta64 value, np.argmin() would return results inconsistent with np.min(). Closes #6030.
Diffstat (limited to 'numpy/core/function_base.py')
0 files changed, 0 insertions, 0 deletions