Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set order='F' when raveling group_idx after broadcast
This majorly improves the dim=... case for engine="flox" at least. xref #281 I'm not sure if it is a regression for engine="numpy" We trade off a single bad reshape for array against argsorting both array and group_idx for a ~10-20x speedup ``` ds = xr.tutorial.load_dataset('air_temperature') ds.groupby('lon').count(..., engine="flox") ```
- Loading branch information