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.1.tar.gz (396.0 kB view details)

Uploaded Source

Built Distribution

patsy-1.0.1-py2.py3-none-any.whl (232.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: patsy-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e786a9391eec818c054e359b737bbce692f051aee4c661f4141cc88fb459c0c4
MD5 38455f3ce8ed13b143c40c9f4b8a572f
BLAKE2b-256 d18174f6a65b848ffd16c18f920620ce999fe45fe27f01ab3911260ce4ed85e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: patsy-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 232.9 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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 751fb38f9e97e62312e921a1954b81e1bb2bcda4f5eeabaf94db251ee791509c
MD5 37e7705d19e05372e0f945eb76b53921
BLAKE2b-256 872bb50d3d08ea0fc419c183a84210571eba005328efa62b6b98bc28e9ead32a

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