Skip to content

Conversation

jakirkham
Copy link
Contributor

Adds a function to pad an iterable on either end by a constant padding value. Also allows for infinite padding if needed.

@jakirkham
Copy link
Contributor Author

Any thoughts on this one? It seems we like to have the non-sequence arguments first, but am a little unsure of how we want to do that given a fill value. The other default arguments can be made non-default arguments easily.

@jakirkham
Copy link
Contributor Author

Friendly nudge. 😉

@mrocklin
Copy link
Member

I wonder if this is doable just with the existing functions? @jakirkham is this useful enough to you to also provide a cytoolz implementation (I find that this is a good test for acceptance).

Also this would be the first time that this docstring style would be used within toolz. We may want to question this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants