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

Explicitly state datetime units in array constructors in test_datetime_mean #5463

Merged
merged 2 commits into from
Jun 12, 2021

Conversation

spencerkclark
Copy link
Member

@spencerkclark spencerkclark commented Jun 12, 2021

This addresses the test_datetime_mean failures reported in #5366. Pandas now requires that we make sure the units of datetime arrays are specified explicitly in array constructors: pandas-dev/pandas#36615 (comment).

  • Passes pre-commit run --all-files

Copy link
Collaborator

@keewis keewis left a comment

Choose a reason for hiding this comment

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

thanks, @spencerkclark, looks good to me.

The upstream-dev failure is the other issue from #5366, which is unrelated to this PR and will probably be fixed with the new numpy wheels.

@spencerkclark spencerkclark merged commit 5a14d7d into pydata:master Jun 12, 2021
@spencerkclark spencerkclark deleted the fix-NaT-units branch June 12, 2021 12:58
@github-actions
Copy link
Contributor

Unit Test Results

0 files  ±0  0 suites  ±0   0s ⏱️ ±0s
0 tests ±0  0 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 5a14d7d. ± Comparison against base commit 5a14d7d.

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.

2 participants