You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set order='F' when raveling group_idx after broadcast (#286)
* 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")
```
* This is an improvement only for engine=flox
* Update tests
* Fix benchmark
* type ignore
0 commit comments