Adding `sorted` in `dy.Column`
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
Research direction
Start by locating dy.Column and the existing column-constraint or custom-check entry points, then read Polars' pl.Expr.is_sorted() behavior. The work is complete when the schema can express the proposed sorted values and tests cover ascending, descending, and the default behavior, including the stated null-ordering scope.
Written by the indexing model from the issue text.
Description
Polars 1.42+ provides pl.Expr.is_sorted() which returns a boolean indicating whether the column is sorted.
It could be nice that this check could be define in a dataframely schema without needing a custom check.
Implementation:sorted could take 3 values: "ascending", "descending" and "None" (the default). The polars implementation takes as well a nulls_last argument, maybe we shouldn't include this complexity here and user could use a custom check if the position of nulls maters. WDYT ?
- Dominant language
- Python
- Stars
- 618
- Forks
- 21
- Avg merge
- 15h 53m
- Merged PRs (30d)
- 8
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Quantco/dataframely
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Quantco/dataframely#402 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Quantco/dataframely#309 · 4 comments · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
Quantco/dataframely#295 · 3 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
Quantco/dataframely#273 · 5 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Quantco/dataframely#272 · 10 comments · 1 reaction ·
All issues in Quantco/dataframely
Similar issues
-
docs pydanty:is-working
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pydantic/pydantic-ai#8863 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
run-llama/llama_index#23278 ·
Maintainers usually reply within 2 days
-
documentation from-review-extraction github-actions priority: low severity:nit
Difficulty 1/5 Under an hour Newbie friendliness 92/100
LearningCircuit/local-deep-research#6946 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
oracle/langchain-oracle#323 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
tenstorrent/tt-metal#58057 · 1 comment ·
Maintainers usually reply within 1 day