Open utterances-bot opened 2 years ago
https://ncar.github.io/esds/posts/2022/dask-debug-detrend/
Simpler expression for np.stack([x ** (N - 1 - i) for i in range(N)], axis=1) is np.stack([x ** i for i in reversed(range(N))], axis=1)
np.stack([x ** (N - 1 - i) for i in range(N)], axis=1)
np.stack([x ** i for i in reversed(range(N))], axis=1)
I just wanted to say thank you for this post! Great explanation!
Debugging dask workflows: Detrending — NCAR-ESDS 0.1 documentation
https://ncar.github.io/esds/posts/2022/dask-debug-detrend/