[Numpy-discussion] default behavior of argsort
Chris Barker
Chris.Barker at noaa.gov
Fri May 14 21:09:58 EDT 2010
Chris Barker wrote:
> I can't find it right now, but I'm pretty sure there is a function that
> will re-shape an array to remove the length-1 dimensions -- maybe that's
> what the OP needs.
it's np.squeeze()
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the NumPy-Discussion
mailing list