We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a9cefd commit 8c20d2aCopy full SHA for 8c20d2a
python/cudf/cudf/tests/test_groupby.py
@@ -1433,7 +1433,7 @@ def test_groupby_nulls_basic(agg):
1433
1434
# TODO: fillna() used here since we don't follow
1435
# Pandas' null semantics. Should we change it?
1436
- with expect_warning_if(agg in {"idxmax", "idxmin"}):
+ with expect_warning_if(agg in {"idxmax", "idxmin"} and not PANDAS_GE_220):
1437
assert_groupby_results_equal(
1438
getattr(pdf.groupby("a"), agg)().fillna(0),
1439
getattr(gdf.groupby("a"), agg)().fillna(0 if agg != "prod" else 1),
0 commit comments