-
Notifications
You must be signed in to change notification settings - Fork 20
feat(let): add strftime function #1373
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging #1373 will improve performances by 32.52%Comparing Summary
Benchmarks breakdown
|
| def temporal_strftime(array: dt.Timestamp(scale=9), pattern: dt.string) -> dt.string: | ||
| pattern, *_rest = typing.cast(pa.StringArray, pattern).unique().to_pylist() | ||
|
|
||
| if len(_rest) > 0: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's use "truth value testing" here: if rest:
https://docs.python.org/3/library/stdtypes.html#truth-value-testing
closes #1372