diff options
author | Bryan Van de Ven <bryan@laptop.local> | 2012-03-22 10:24:52 -0500 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2012-04-04 10:15:45 -0600 |
commit | 313fe46046a7192cbdba2e679a104777301bc7cf (patch) | |
tree | acdfcd44ceeaed40da585c373f2bfca94bf30a2e /numpy/lib/arraypad.py | |
parent | 0d1b60136862dd831ca586516d47561181e321ec (diff) | |
download | numpy-313fe46046a7192cbdba2e679a104777301bc7cf.tar.gz |
ENH: Add 'sorter' argument to searchsorted.
The new argument allows one to search an argsorted array by passing
in the result of argsorting the array as the 'sorter' argument. For
example
searchsorted(a, sorter=a.argsort)
Diffstat (limited to 'numpy/lib/arraypad.py')
0 files changed, 0 insertions, 0 deletions