diff options
author | Matti Picus <matti.picus@gmail.com> | 2019-11-21 16:07:38 -0800 |
---|---|---|
committer | Warren Weckesser <warren.weckesser@gmail.com> | 2019-11-21 19:07:38 -0500 |
commit | 5923592155fa9301dfbdcc2b2b92972ea796dcc4 (patch) | |
tree | 53603ea715cedae4f1dcef447a1b5b3d743db794 /numpy/core/fromnumeric.py | |
parent | 48e0ded975e0180323677b1c50dee3c891a0989e (diff) | |
download | numpy-5923592155fa9301dfbdcc2b2b92972ea796dcc4.tar.gz |
ENH: add isinf, isnan, fmin, fmax loops for datetime64, timedelta64 (#14841)
`np.datetime('NaT')` should behave more like `float('Nan')`.
Add needed infrastructure so `np.isinf(a)` and `np.isnan(a)`
will run on `datetime64` and `timedelta64` dtypes.
Also added specific loops for `numpy.fmin` and `numpy.fmax`
that mask `NaT`.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions