diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2018-06-29 23:56:38 -0700 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2018-07-06 12:17:31 -0700 |
commit | 307dd76cb0fb770e07524e4cd29cd08e17edc2c3 (patch) | |
tree | e190ee007e739a9a47c34f8393e5fbd28a564a79 /numpy/core/arrayprint.py | |
parent | 739443679b50b43c34808b8fb767bac643fcd91d (diff) | |
download | numpy-307dd76cb0fb770e07524e4cd29cd08e17edc2c3.tar.gz |
BUG: Don't convert inputs to `np.float64` in digitize
This converts digitize to a pure-python function that falls back on searchsorted.
Performance doesn't really matter here anyway - if you care about performance, then you should just call searchsorted directly, rather than checking the order of the bins.
Partially fixes gh-11022
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions