Skip to main content

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.

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.3.tar.gz (400.0 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.3-py2.py3-none-any.whl (233.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: patsy-1.0.3.tar.gz
  • Upload date:
  • Size: 400.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.21

File hashes

Hashes for patsy-1.0.3.tar.gz
Algorithm Hash digest
SHA256 79ebf4c93ff4d296e58a9d5be2b2ee31bd49d737cf11d70ffbd8a44b2de42e65
MD5 674491f1c13a76029d78a07d0c2c0040
BLAKE2b-256 08e3950e513affdfe1c1864397b4f40d6ed06ec1b54f608e462c27f151dd72df

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for patsy-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d3dbebe8fd5f46e29912d030b63c6268647b59bf788a99e2af28a30234cf357c
MD5 5e170b17f78872fc7e40affdec056bbd
BLAKE2b-256 2070cd3cf5cff538323076a879edef02cce6f13f7d75e03d12f211b0a0dbd178

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.5.6

2 files

0.5.5

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page