Sliding window with fill values
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Start by reading the existing sliding_window implementation and the pad proposal in PR #340. Clarify the desired constant-boundary API and behavior with maintainers, then define tests for the requested cases once the feature scope is agreed.
Written by the indexing model from the issue text.
Description
The sliding_window function is pretty neat. One of the cases that I sometimes encounter benefit from having a function like that. Though sometimes I need some sort of boundary condition as well. For instance adding a constant to the boundaries. The function pad proposed in PR ( https://github.com/pytoolz/toolz/pull/340 ) would go well with this use case. Though I wanted to see if there was interest in having sliding window function with a constant boundary condition.
- Dominant language
- Python
- Stars
- 5.2k
- Forks
- 280
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
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 pytoolz/toolz
-
tail(0, seq) returns the whole sequence instead of empty (and is inconsistent across iterable types) Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100