Skip to content

TST/CLN: test_cov_corr #41886

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 10, 2021
Merged

Conversation

mzeitlin11
Copy link
Member

@mzeitlin11 mzeitlin11 commented Jun 9, 2021

Some parameterizations, removal of unused vars.

@mzeitlin11 mzeitlin11 added Algos Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff Clean Testing pandas testing functions or related to the test suite labels Jun 9, 2021
@@ -29,7 +29,7 @@ def test_cov(self, float_frame, float_string_frame):
frame = float_frame.copy()
frame["A"][:5] = np.nan
frame["B"][5:10] = np.nan
result = float_frame.cov(min_periods=len(float_frame) - 8)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the expected on the next line is not used either before being reassigned. are we missing an assert somewhere here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing that out - have modified the test to do what I'd guess it was trying to

@jreback jreback added this to the 1.3 milestone Jun 10, 2021
@jreback jreback merged commit daa23d6 into pandas-dev:master Jun 10, 2021
@mzeitlin11 mzeitlin11 deleted the test_cov_corr_cln branch June 10, 2021 00:33
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Algos Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants