15 May
2010
15 May
'10
1:09 a.m.
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@noaa.gov