Skip to main content

A Python package for describing statistical models and for building design matrices.

Project description

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.

https://travis-ci.org/pydata/patsy.png?branch=master https://coveralls.io/repos/pydata/patsy/badge.png?branch=master
Documentation:

http://patsy.readthedocs.org/

Downloads:

http://pypi.python.org/pypi/patsy/

Dependencies:
  • Python (2.6, 2.7, or 3.3+)

  • six

  • numpy

Optional dependencies:
  • nose: needed to run tests

  • scipy: needed for spline-related functions like bs

Install:

pip install patsy (or, for traditionalists: python setup.py install)

Code and bug tracker:

https://github.com/pydata/patsy

Mailing list:
License:

2-clause BSD, see LICENSE.txt for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

patsy-0.4.0.zip (424.0 kB view hashes)

Uploaded source

Built Distribution

patsy-0.4.0-py2.py3-none-any.whl (232.5 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page