Commit 0684419
authored
Address pandas warning about deprecated DataFrameGroupBy.apply default (#7235)
* Address pandas warning about deprecated DataFrameGroupBy.apply default
The current default is to pass grouping columns to the apply function,
which in our case does not use them at all. Here we exclude them with
`include_groups=False` adopting the new behavior.
Adding temporary check that the new output is the same.
* Clean up temporary assertion (all tests passed)1 parent 0a326d0 commit 0684419
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
705 | | - | |
| 705 | + | |
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
| |||
0 commit comments