Polars State Polars State
  • User Guide
  • API Reference

Skills

A skill is a package of structured files that teaches an AI coding agent how to work with a specific tool or framework. The skill below was generated by Great Docs from this project’s documentation. Install it in your agent and it will be able to run commands, edit configuration, write content, and troubleshoot problems without step-by-step guidance from you.

Any agent — install with npx:

npx skills add https://uriahf.github.io/polarstate/

Codex / OpenCode

Tell the agent:
Fetch the skill file at https://uriahf.github.io/polarstate/skill.md and follow the instructions.

Manual — download the skill file:

curl -O https://uriahf.github.io/polarstate/skill.md

Or browse the SKILL.md file.

SKILL.md

---
name: polarstate
description: >
  Fast Aalen-Johansen state-occupancy estimates for Polars DataFrames. Use when writing Python code that uses the polarstate package.
compatibility: Requires Python >=3.9.
---

# Polars State

Fast Aalen-Johansen state-occupancy estimates for Polars DataFrames

## Installation

```bash
pip install polarstate
```

## API overview

### Event table

Compute an inspectable Aalen-Johansen event table from time-to-event observations.

- `prepare_event_table`: Compute an inspectable Aalen-Johansen event table

### Time-horizon estimates

Return state-occupancy estimates at requested time horizons.

- `predict_aj_estimates`: Evaluate state-occupancy probabilities at fixed time horizons or scheduled steps

## Resources

- [Full documentation](https://uriahf.github.io/polarstate/)
- [llms.txt](llms.txt) — Indexed API reference for LLMs
- [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs
- [Source code](https://github.com/uriahf/polarstate)

Developed by Uriah Finkel.
Site created with Great Docs.