We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ffedbe commit a997140Copy full SHA for a997140
pandas/tests/frame/methods/test_cov_corr.py
@@ -493,7 +493,7 @@ def test_corr_within_bounds(self):
493
tm.assert_equal(result1, expected1)
494
495
rng = np.random.default_rng(seed=42)
496
- df2 = DataFrame(rng.random(100, 4))
+ df2 = DataFrame(rng.random((100, 4)))
497
corr_matrix = df2.corr()
498
assert corr_matrix.min().min() >= -1.0
499
assert corr_matrix.max().max() <= 1.0
0 commit comments