I have a large dataset [time,lat,lon]. I want to regress a variable against time for each point in the grid, but using a for loop takes forever. I found that grouping the dataar