Skip to content

Commit 1383ad8

Browse files
committed
more edits
1 parent 1136f29 commit 1383ad8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/posts/flox-smart/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Briefly, one computes the reduction for a subset of the array N chunks at a time
2020

2121
Without flox, Xarray effectively shuffles — sorts the data to extract all values in a single group — and then runs the reduction group-by-group.
2222
Depending on data layout or "chunking" this shuffle can be quite expensive.
23+
Here's a schematic of an array with 5 chunks arranged vertically, and each chunk has 10 elements each of which are colored by group.
2324
![shuffle](https://flox.readthedocs.io/en/latest/_images/new-split-apply-combine-annotated.svg)
2425
With flox installed, Xarray instead uses its parallel-friendly tree reduction.
2526
In many cases, this is a massive improvement.

0 commit comments

Comments
 (0)