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
for i in range(44):
depth = temp[:,i]
detrend = s.detrend(depth)
But, this is giving only last depth value calculation.
Please let me know.
