Skip to content

Commit 94a0eea

Browse files
committed
Add duplicated values to correlation test data
1 parent 3e3ffef commit 94a0eea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/frame/methods/test_cov_corr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ class TestDataFrameCorr:
9292
def test_corr_scipy_method(self, float_frame, method):
9393
float_frame["A"][:5] = np.nan
9494
float_frame["B"][5:10] = np.nan
95+
float_frame["A"][:10] = float_frame["A"][10:20]
9596

9697
correls = float_frame.corr(method=method)
9798
expected = float_frame["A"].corr(float_frame["C"], method=method)

0 commit comments

Comments
 (0)