Commit aa134bb
BUG Fix for Add numeric_only to function signature of DataFrameGroupBy.cumprod and `DataFrameGroupBy.cumsum (#59427)
* Add numeric_only to func signature
* Add numeric_only to cumprod and cumsum func signature
* Added docstring
* Fix tests and add documentation
* Update pandas/core/groupby/groupby.py
Co-authored-by: Matthew Roeschke <[email protected]>
* Update pandas/core/groupby/groupby.py
Co-authored-by: Matthew Roeschke <[email protected]>
---------
Co-authored-by: Matthew Roeschke <[email protected]>1 parent ac69522 commit aa134bb
File tree
3 files changed
+13
-7
lines changed- doc/source/whatsnew
- pandas
- core/groupby
- tests/groupby
3 files changed
+13
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
| 613 | + | |
613 | 614 | | |
614 | 615 | | |
615 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4682 | 4682 | | |
4683 | 4683 | | |
4684 | 4684 | | |
4685 | | - | |
| 4685 | + | |
4686 | 4686 | | |
4687 | 4687 | | |
4688 | 4688 | | |
4689 | 4689 | | |
4690 | 4690 | | |
| 4691 | + | |
| 4692 | + | |
4691 | 4693 | | |
4692 | 4694 | | |
4693 | 4695 | | |
| |||
4735 | 4737 | | |
4736 | 4738 | | |
4737 | 4739 | | |
4738 | | - | |
4739 | | - | |
| 4740 | + | |
| 4741 | + | |
4740 | 4742 | | |
4741 | 4743 | | |
4742 | 4744 | | |
4743 | 4745 | | |
4744 | | - | |
| 4746 | + | |
4745 | 4747 | | |
4746 | 4748 | | |
4747 | 4749 | | |
4748 | 4750 | | |
4749 | 4751 | | |
| 4752 | + | |
| 4753 | + | |
4750 | 4754 | | |
4751 | 4755 | | |
4752 | 4756 | | |
| |||
4794 | 4798 | | |
4795 | 4799 | | |
4796 | 4800 | | |
4797 | | - | |
4798 | | - | |
| 4801 | + | |
| 4802 | + | |
4799 | 4803 | | |
4800 | 4804 | | |
4801 | 4805 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| |||
0 commit comments