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

Use .total_seconds() instead of .seconds; Fix .sum() of all-NaN to return NaN #87

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

chanshing
Copy link
Member

@chanshing chanshing commented Apr 26, 2024

  • .seconds doesn't have millis, etc.
  • .sum() of all NaN returns 0 - fix to return NaN

@chanshing chanshing force-pushed the fix-total-seconds-millis branch from 93ad418 to 8daf507 Compare April 26, 2024 14:01
@chanshing chanshing merged commit f26beec into main Apr 26, 2024
14 checks passed
@chanshing chanshing deleted the fix-total-seconds-millis branch April 26, 2024 14:05
@chanshing chanshing changed the title Use .total_seconds() instead of .seconds Use .total_seconds() instead of .seconds; Fix .sum() of all-NaN to return NaN Apr 26, 2024
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.

1 participant