title: How to save an array for each run of 'for loop'?
body: <p>I have ocean temperature data having 'depth' and 'time', as data(depth,time).
  I want to use the 'detrend' function at each depth and save that result. So that I get as a result detrend(number of depth, time) as a one array. Depth = 42 and time = 72</p>
  <p>for i in range(44):<br />
  depth = temp[:,i]<br />
  detrend = s.detrend(depth)</p>
  <p>But, this is giving only last depth value calculation.</p>
  <p>Please let me know.</p>