File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,11 @@ Here's a quick demo of computing monthly mean climatologies with the National Wa
79
79
For this input dataset, chunked so that approximately a month of data is in a single chunk,
80
80
81
81
<RawHTML filePath =' /posts/flox-smart/dataset-repr.html ' />
82
- we run ``` mean_mapreduce = ds.groupby("time.month").mean(method="map-reduce") mean_cohorts
83
- = ds.groupby("time.month").mean() # this is auto-detected! ``` Using the algorithm
84
- described below, flox will ** automatically** set ` method="cohorts" ` for this dataset
85
- unless specified, yielding a 5X decrease in memory need, and 2X longer in time ![ ] ( /posts/flox-smart/mem.png )
82
+ we run ``` mean_mapreduce = ds.groupby("time.month").mean(method="map-reduce")
83
+ mean_cohorts = ds.groupby("time.month").mean() # this is auto-detected! ```
84
+ Using the algorithm described below, flox will ** automatically** set
85
+ ` method="cohorts" ` for this dataset unless specified, yielding a 5X decrease in
86
+ memory need, and 2X longer in time ![ ] ( /posts/flox-smart/mem.png )
86
87
87
88
## Problem statement
88
89
You can’t perform that action at this time.
0 commit comments