Closed
Description
I came across this StackOverflow thread about applying linear regression across multi-dimensional arrays and there were some very efficient, xarray-based solutions suggested to the OP which leveraged vectorized operations. I was wondering if there was any interest in adding a function like this to future releases of xarray? It seems like a very neat and useful functionality to have, and not just for meteorological applications!
Most answers draw from this blog post:
https://hrishichandanpurkar.blogspot.com/2017/09/vectorized-functions-for-correlation.html