summaryrefslogtreecommitdiff
path: root/numpy/array_api/_statistical_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-04-21 10:36:27 +0200
committerSebastian Berg <sebastian@sipsolutions.net>2022-04-21 10:36:27 +0200
commita9ebf19025b18c8e00becea4bdcfd931e8449c19 (patch)
tree51a1fbc0d7f4b953d29587b7ee0c68e1b758773f /numpy/array_api/_statistical_functions.py
parentc900978d5e572d96ccacaa97af28e2c5f4a0b137 (diff)
downloadnumpy-a9ebf19025b18c8e00becea4bdcfd931e8449c19.tar.gz
BUG: Allow legacy dtypes to cast to datetime again
This constraint was added out of a caution with the thought that nobody uses it. Turns out ora does use it. In practice, this only affects cast to and from datetimes (or possibly strings but that seems even less likely). Tested via ora (see gh-21365) the paths are not particularly special, but the parametric dtype resolution is in principle missing. This is not particularly problematic, since NumPy barely exposes that though, and it never worked. Closes gh-21365
Diffstat (limited to 'numpy/array_api/_statistical_functions.py')
0 files changed, 0 insertions, 0 deletions