A Python package for describing statistical models and for building design matrices.
Maintained. Last release 3 months ago, commits in 16 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install patsyPatsy
Notice: patsy is no longer under active development. As of August 2021,
Matthew Wardrop (@matthewwardrop) and Tomás Capretto (@tomicapretto) have taken
on responsibility from Nathaniel Smith (@njsmith) for keeping the lights on, but
no new feature development is planned. The spiritual successor of this project
is Formulaic, and we
recommend that users migrate
when possible. For the time being, until major software packages have successfully
transitioned, we will attempt to keep patsy working in its current state with
current releases in the Python ecosystem.
Patsy is a Python library for describing statistical models (especially linear models, or models that have a linear component) and building design matrices. Patsy brings the convenience of R "formulas" to Python.
- Documentation: https://patsy.readthedocs.io/
- Downloads: http://pypi.python.org/pypi/patsy/
- Code and issues: https://github.com/pydata/patsy
- Mailing list: pydata@googlegroups.com (http://groups.google.com/group/pydata)
Dependencies
- Python (3.6+)
