Skip to content

Additional itertool recipes for running statistics#148879

Merged
rhettinger merged 5 commits intopython:mainfrom
rhettinger:running_stats_recipes
Apr 22, 2026
Merged

Additional itertool recipes for running statistics#148879
rhettinger merged 5 commits intopython:mainfrom
rhettinger:running_stats_recipes

Conversation

@rhettinger
Copy link
Copy Markdown
Contributor

@rhettinger rhettinger commented Apr 22, 2026

  • Makes existing doc examples more findable: running_min, running_max, and running_median.
  • Moves existing running_mean recipe alongside related examples.
  • Add running_statistics to demonstrate a fundamental compositional technique (splitting an input iterator with tee, processing each stream separately, and recombining with zip).

📚 Documentation preview 📚: https://cpython-previews--148879.org.readthedocs.build/

@rhettinger rhettinger added docs Documentation in the Doc dir skip issue skip news labels Apr 22, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Apr 22, 2026
@rhettinger rhettinger merged commit b168865 into python:main Apr 22, 2026
39 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Apr 22, 2026
@rhettinger rhettinger deleted the running_stats_recipes branch April 22, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip issue skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant