Skip to content

Commit 5ae4539

Browse files
committed
fix nose tests error
pandas.tseries.tests.test_resample.TestPeriodIndex and pandas.tests.test_groupby.test_timegrouper_with_reg_groups need default dropna param in _cython_agg_general()
1 parent 24e0436 commit 5ae4539

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

pandas/core/groupby.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ def _cython_transform(self, how, numeric_only=True):
794794

795795
return self._wrap_transformed_output(output, names)
796796

797-
def _cython_agg_general(self, how, numeric_only=True):
797+
def _cython_agg_general(self, how, numeric_only=True, dropna=True):
798798
output = {}
799799
for name, obj in self._iterate_slices():
800800
is_numeric = is_numeric_dtype(obj.dtype)

test_margin_dropna.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)