ibis
ibis copied to clipboard
feat(types): isoyear method
- first steps for implementing iso_year method
- added isoyear method for duckdb
Description of changes
Added a new isoyear method for timestamps.
Issues closed
Resolved #8989
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.
@cpcloud I'm not sure where the corresponding tests should be placed?
- Inside
ibis/tests/expr/test_timestampy.py
- as new parametrization of
test_extract_fields
- as a new test function, f.e.
test_iso_year
- as new parametrization of
- Inside
ibis/backends/tests/test_temportal.py
Hey @kaijennissen!
For tests of ibis internals, like does the extract operation return the Ibis type we expect for a given input, those go in ibis/tests/expr
.
For testing execution against backends (does the operation do what we want, which backends are implemented, etc), those go in ibis/backends/tests