diff --git a/doc/source/whatsnew/v1.3.4.rst b/doc/source/whatsnew/v1.3.4.rst index 9387483bd62f5..1ef70fa378adf 100644 --- a/doc/source/whatsnew/v1.3.4.rst +++ b/doc/source/whatsnew/v1.3.4.rst @@ -15,6 +15,7 @@ including other versions of pandas. Fixed regressions ~~~~~~~~~~~~~~~~~ - Fixed regression in :meth:`merge` with integer and ``NaN`` keys failing with ``outer`` merge (:issue:`43550`) +- Fixed regression in :meth:`DataFrame.corr` raising ``ValueError`` with ``method="spearman`` on 32-bit platforms (:issue:`43588`) - Fixed performance regression in :meth:`MultiIndex.equals` (:issue:`43549`) - diff --git a/pandas/tests/frame/methods/test_cov_corr.py b/pandas/tests/frame/methods/test_cov_corr.py index c259902ec2498..3dbf49df72558 100644 --- a/pandas/tests/frame/methods/test_cov_corr.py +++ b/pandas/tests/frame/methods/test_cov_corr.py @@ -100,7 +100,6 @@ def test_corr_scipy_method(self, float_frame, method): # --------------------------------------------------------------------- - @td.skip_if_no_scipy def test_corr_non_numeric(self, float_string_frame): # exclude non-numeric types result = float_string_frame.corr() @@ -125,11 +124,9 @@ def test_corr_nooverlap(self, meth): assert rs.loc["B", "B"] == 1 assert isna(rs.loc["C", "C"]) - @td.skip_if_no_scipy @pytest.mark.parametrize("meth", ["pearson", "spearman"]) def test_corr_constant(self, meth): # constant --> all NA - df = DataFrame( { "A": [1, 1, 1, np.nan, np.nan, np.nan],