Skip to content
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

skip dataframe/product when in numpy 2 envs #11089

Merged
merged 1 commit into from
May 2, 2024

Conversation

quasiben
Copy link
Member

@quasiben quasiben commented May 2, 2024

Moves #11066 further along but does not close it. Locally, the rest of dask/dataframe passes with NumPy2

cc @phofl

if redfunc in ("var", "std"):
# numpy has default ddof value 0 while
# dask and pandas have 1, so ddof should be passed
# explicitly when calling np.var(dask)
expect = np_redfunc(pdf, axis=axis, ddof=1)
actual = np_redfunc(df, axis=axis, ddof=1)
elif NUMPY_GE_125 and redfunc == "product":
elif NUMPY_GE_125 and redfunc == "product" and not NUMPY_GE_200:
Copy link
Member Author

Choose a reason for hiding this comment

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

Could also be changed to skip in the parameterized section

Copy link
Contributor

github-actions bot commented May 2, 2024

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

     15 files  ±0       15 suites  ±0   3h 25m 1s ⏱️ - 3m 2s
 13 121 tests ±0   12 190 ✅ ±0     931 💤 ±0  0 ❌ ±0 
162 468 runs  ±0  142 370 ✅ +1  20 098 💤  - 1  0 ❌ ±0 

Results for commit 8603869. ± Comparison against base commit 814ed3b.

@phofl phofl merged commit 5b0f20e into dask:main May 2, 2024
28 checks passed
@phofl
Copy link
Collaborator

phofl commented May 2, 2024

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants