Skip to main content

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

Project description

Patsy

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.

PyPI - Version PyPI - Python Version https://patsy.readthedocs.io/ PyPI - Status https://coveralls.io/r/pydata/patsy?branch=master https://doi.org/10.5281/zenodo.592075

Dependencies

  • Python (3.6+)
  • numpy
  • Optional:
    • pytest/pytest-cov: needed to run tests
    • scipy: needed for spline-related functions like bs

Installation

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

License

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

Project 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-1.0.2.tar.gz (399.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patsy-1.0.2-py2.py3-none-any.whl (233.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file patsy-1.0.2.tar.gz.

File metadata

  • Download URL: patsy-1.0.2.tar.gz
  • Upload date:
  • Size: 399.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for patsy-1.0.2.tar.gz
Algorithm Hash digest
SHA256 cdc995455f6233e90e22de72c37fcadb344e7586fb83f06696f54d92f8ce74c0
MD5 42cfbbe0d006e529d288726b66fbef12
BLAKE2b-256 be44ed13eccdd0519eff265f44b670d46fbb0ec813e2274932dc1c0e48520f7d

See more details on using hashes here.

File details

Details for the file patsy-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: patsy-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 233.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for patsy-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 37bfddbc58fcf0362febb5f54f10743f8b21dd2aa73dec7e7ef59d1b02ae668a
MD5 7cd623c6b4026991bf5577f7e0834489
BLAKE2b-256 f170ba4b949bdc0490ab78d545459acd7702b211dfccf7eb89bbc1060f52818d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page