Skip to content

Conversation

@d-chambers
Copy link
Contributor

Description

This PR fixes #575 by simply creating a copy of an array which has NaNs that need to be masked when creating datetime64 array from a generic array input.

Checklist

I have (if applicable):

  • referenced the GitHub issue this PR closes.
  • documented the new feature with docstrings and/or appropriate doc page.
  • included tests. See testing guidelines.
  • added the "ready_for_review" tag once the PR is ready to be reviewed.

@codecov
Copy link

codecov bot commented Oct 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.92%. Comparing base (a7f8e48) to head (3b9f3d4).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #576   +/-   ##
=======================================
  Coverage   99.92%   99.92%           
=======================================
  Files         128      128           
  Lines       10878    10880    +2     
=======================================
+ Hits        10870    10872    +2     
  Misses          8        8           
Flag Coverage Δ
unittests 99.92% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 23, 2025

CodSpeed Performance Report

Merging #576 will not alter performance

Comparing fix_575 (3b9f3d4) with master (a7f8e48)

Summary

✅ 54 untouched

@d-chambers d-chambers merged commit 9073eac into master Oct 23, 2025
23 checks passed
@d-chambers d-chambers deleted the fix_575 branch October 23, 2025 14:16
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.

to_datetime64 and to_timedelta64 don't handle immutable arrays

2 participants