Skip to content

Commit f3f5411

Browse files
avoid depr warning about include_groups
1 parent e2f988d commit f3f5411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/resample/test_resampler_grouper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ def test_groupby_resample_empty_sum_string(
533533
# https://github.com/pandas-dev/pandas/issues/60229
534534
dtype = string_dtype_no_object
535535
test_frame = test_frame.assign(B=pd.array([pd.NA] * len(test_frame), dtype=dtype))
536-
gbrs = test_frame.groupby("A").resample("40s")
536+
gbrs = test_frame.groupby("A").resample("40s", include_groups=False)
537537
result = gbrs.sum(min_count=min_count)
538538

539539
index = pd.MultiIndex(

0 commit comments

Comments
 (0)