Skip to main content

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

Reason this release was yanked:

`pytest` was accidentally elevated to a hard dependency, breaking installs.

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://travis-ci.org/pydata/patsy 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.0.tar.gz (396.0 kB view details)

Uploaded Source

Built Distribution

patsy-1.0.0-py2.py3-none-any.whl (233.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: patsy-1.0.0.tar.gz
  • Upload date:
  • Size: 396.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for patsy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 787d2a5d15333fb1e4dc11331b2e7fd17d92f9a815db2fbca29b50c0e6c0159d
MD5 7d917432255341ddf5b2f0a67db3738e
BLAKE2b-256 0ace9d2ddd0cae6a079bac2046096fcc87dd291d030cbd78c977d674c8e41fd2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: patsy-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 233.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.17

File hashes

Hashes for patsy-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 290ca9aa81b1821f705f86ab3f89cce3f898cdc020ab0304ee6e1f0f42513ef0
MD5 a0b307506712a2350df069a7fd8a78c9
BLAKE2b-256 4fa5ef93cf4ad3da722a773b6da86921756582186e0bcc3dfabd2de63010444c

See more details on using hashes here.

Supported by

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