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.
- Python (2.6, 2.7, or 3.3+)
- Optional dependencies:
- nose: needed to run tests
- scipy: needed for spline-related functions like
pip install patsy(or, for traditionalists:
python setup.py install)
- Code and bug tracker:
- Mailing list:
- 2-clause BSD, see LICENSE.txt for details.