Skip to content

Commit 6791678

Browse files
mzeitlin11jreback
andauthored
REGR: spearman corr raising on 32-bit (#43608)
Co-authored-by: Jeff Reback <[email protected]>
1 parent f08e579 commit 6791678

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

doc/source/whatsnew/v1.3.4.rst

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ including other versions of pandas.
1515
Fixed regressions
1616
~~~~~~~~~~~~~~~~~
1717
- Fixed regression in :meth:`merge` with integer and ``NaN`` keys failing with ``outer`` merge (:issue:`43550`)
18+
- Fixed regression in :meth:`DataFrame.corr` raising ``ValueError`` with ``method="spearman`` on 32-bit platforms (:issue:`43588`)
1819
- Fixed performance regression in :meth:`MultiIndex.equals` (:issue:`43549`)
1920
-
2021

pandas/tests/frame/methods/test_cov_corr.py

-3
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ def test_corr_scipy_method(self, float_frame, method):
100100

101101
# ---------------------------------------------------------------------
102102

103-
@td.skip_if_no_scipy
104103
def test_corr_non_numeric(self, float_string_frame):
105104
# exclude non-numeric types
106105
result = float_string_frame.corr()
@@ -125,11 +124,9 @@ def test_corr_nooverlap(self, meth):
125124
assert rs.loc["B", "B"] == 1
126125
assert isna(rs.loc["C", "C"])
127126

128-
@td.skip_if_no_scipy
129127
@pytest.mark.parametrize("meth", ["pearson", "spearman"])
130128
def test_corr_constant(self, meth):
131129
# constant --> all NA
132-
133130
df = DataFrame(
134131
{
135132
"A": [1, 1, 1, np.nan, np.nan, np.nan],

0 commit comments

Comments
 (0)