Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
Merged
Prev Previous commit
Bug in rolling
  • Loading branch information
akharche committed May 29, 2020
commit 666fcebeccc44c58bbaf3f73f1e3de0f62fca207
4 changes: 4 additions & 0 deletions sdc/tests/test_rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,7 @@ def test_impl(window, min_periods):
pd.testing.assert_frame_equal(jit_result, ref_result)

@skip_sdc_jit('DataFrame.rolling.corr() unsupported')
@dfRefactoringNotImplemented
def test_df_rolling_corr_no_other(self):
all_data = [
list(range(10)), [1., -1., 0., 0.1, -0.1],
Expand All @@ -1026,6 +1027,7 @@ def test_df_rolling_corr_unsupported_types(self):
self._test_rolling_corr_unsupported_types(df)

@skip_sdc_jit('DataFrame.rolling.corr() unsupported exceptions')
@dfRefactoringNotImplemented
def test_df_rolling_corr_unsupported_values(self):
def test_impl(df, other, pairwise):
return df.rolling(3, 3).corr(other=other, pairwise=pairwise)
Expand Down Expand Up @@ -1122,6 +1124,7 @@ def test_impl(window, min_periods, ddof):
pd.testing.assert_frame_equal(jit_result, ref_result)

@skip_sdc_jit('DataFrame.rolling.cov() unsupported')
@dfRefactoringNotImplemented
def test_df_rolling_cov_no_other(self):
all_data = [
list(range(10)), [1., -1., 0., 0.1, -0.1],
Expand All @@ -1144,6 +1147,7 @@ def test_df_rolling_cov_unsupported_types(self):
self._test_rolling_cov_unsupported_types(df)

@skip_sdc_jit('DataFrame.rolling.cov() unsupported exceptions')
@dfRefactoringNotImplemented
def test_df_rolling_cov_unsupported_values(self):
def test_impl(df, other, pairwise):
return df.rolling(3, 3).cov(other=other, pairwise=pairwise)
Expand Down