Minimal agent context for tsbootstrap. Full docs: README.md and https://tsbootstrap.readthedocs.io.
Time series bootstrapping. One entry point: bootstrap(X, *, method=...) imported from tsbootstrap. Typed method specs live in tsbootstrap.methods. diagnose(X).recommended_methods suggests methods for a series.
- Install:
uv sync --extra dev(add--extra examples --extra docsfor notebooks and docs). - Tests:
uv run pytest tests/ - Lint and format:
uv run ruff check .anduv run ruff format .(both gated in CI; runuv run pre-commit installonce so commits gate locally). - Types:
uv run mypy src/tsbootstrapanduv run pyright src/tsbootstrap.
- Python 3.10+. Model-based methods (AR/ARIMA/VAR residual, sieve) need the
modelsextra; the uncertainty-quantification layertsbootstrap.uqneeds theuqextra. - No em or en dashes in prose. Conventional-commit messages, imperative mood.