Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.
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
Re-implement df structure: enable rolling tests that pass
  • Loading branch information
akharche committed May 29, 2020
commit 6813c70bb3f3adbac8f6b83dc34dd6387d5cc1da
4 changes: 0 additions & 4 deletions sdc/tests/test_rolling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,6 @@ 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 @@ -1027,7 +1026,6 @@ 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 @@ -1124,7 +1122,6 @@ 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 @@ -1147,7 +1144,6 @@ 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