diff --git a/dask/dataframe/tests/test_groupby.py b/dask/dataframe/tests/test_groupby.py index 5e8299838fc..03fb1d3ca8a 100644 --- a/dask/dataframe/tests/test_groupby.py +++ b/dask/dataframe/tests/test_groupby.py @@ -1841,10 +1841,7 @@ def test_std_object_dtype(func): def test_std_columns_int(): df = pd.DataFrame({0: [5], 1: [5]}) ddf = dd.from_pandas(df, npartitions=2) - if PANDAS_GE_300: - assert_eq(ddf.groupby(ddf[0]).std(), df.groupby(df[0]).std()) - else: - assert_eq(ddf.groupby(ddf[0]).std(), df.groupby(df[0].copy()).std()) + assert_eq(ddf.groupby(ddf[0]).std(), df.groupby(df[0]).std()) def test_timeseries():