Skip to content

Commit 6a0fe57

Browse files
skip test on legacy pandas
1 parent 4fd0dab commit 6a0fe57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/system/small/test_groupby.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,8 @@ def test_series_groupby_last(
825825
def test_dataframe_groupby_first(
826826
scalars_df_index, scalars_pandas_df_index, numeric_only, min_count
827827
):
828+
# min_count seems to not work properly on older pandas
829+
pytest.importorskip("pandas", minversion="2.0.0")
828830
# bytes, dates not handling min_count properly in pandas
829831
bf_result = (
830832
scalars_df_index.drop(columns=["bytes_col", "date_col"])

0 commit comments

Comments
 (0)