Commit 6336e00
docs: rename aggregations.rst demo df to orders_df to avoid clobbering state
The "Building per-group arrays" block added in the previous commit
reassigned `df` and `ctx` mid-page, which then broke the
Grouping Sets examples further down that share the Pokemon `df`
binding (`col_type_1` etc. no longer resolved). Rename the demo
DataFrame to `orders_df` and drop the redundant `ctx = SessionContext()`
so the shared state from the top of the page stays intact.
Verified with `sphinx-build -W --keep-going` against the full docs
tree.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e461499 commit 6336e00
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
| 182 | + | |
186 | 183 | | |
187 | 184 | | |
188 | 185 | | |
189 | 186 | | |
190 | 187 | | |
191 | 188 | | |
192 | 189 | | |
193 | | - | |
| 190 | + | |
194 | 191 | | |
195 | 192 | | |
196 | 193 | | |
| |||
0 commit comments