-
Notifications
You must be signed in to change notification settings - Fork 603
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
feat(api): day_of_week.iso_index()
method
#9003
base: main
Are you sure you want to change the base?
Conversation
ACTION NEEDED Ibis follows the Conventional Commits specification for release automation. The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification. |
We have a It's a bit of an oddball API in that it functions like a namespace instead of top level method like everything else. Naturally, your first development experience with Ibis is extending a slightly weird bit of the codebase 😂. Perhaps we can add two new methods there? class DayOfWeek:
...
def iso_index(self): ...
def iso_full_name(self): ... for consistency with the surrounding methods? |
Here's a usage example:
|
Alternatively, I can take a crack at this one, if you want to handle |
I missed that.
I'll give it a try. And |
Is it possible that there are currently no tests for |
@kaijennissen You should be able to find the tests that run across backends in
|
@cpcloud The |
4655c8a
to
be291cd
Compare
day_of_week.iso_index()
method
day_of_week.iso_index()
methodday_of_week.iso_index()
method
@kaijennissen Are you still interested in this feature? If so, would you mind trying it out for your use case and reporting back? |
@cpcloud Sorry for the late answer. It works for my use case, thanks. |
Description of changes
Added a new
isoday_of_week
method for timestamps.Issues closed
Resolves #8989