Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test_resample index dtype checking for pandas 2.2 #15058

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion python/cudf/cudf/tests/test_resampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import pytest

import cudf
from cudf.core._compat import PANDAS_GE_200
from cudf.core._compat import PANDAS_GE_200, PANDAS_GE_220
from cudf.testing._utils import assert_eq


Expand All @@ -31,6 +31,7 @@ def test_series_downsample_simple(ts_resolution):
assert_resample_results_equal(
psr.resample("3min").sum(),
gsr.resample("3min").sum(),
check_index=not PANDAS_GE_220,
)


Expand All @@ -43,6 +44,7 @@ def test_series_upsample_simple():
assert_resample_results_equal(
psr.resample("3min").sum(),
gsr.resample("3min").sum(),
check_index=not PANDAS_GE_220,
)


Expand Down
Loading