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 those interested in new feature development contribute there. Those whose use-cases continue to be met by patsy can continue using this package with increased confidence that things will continue to work as is for the foreseeable future.


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 (2.6, 2.7, or 3.3+)
  • six
  • 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.

Metadata

Release files for patsy 0.5.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for patsy 0.5.4
File Size Uploaded
patsy-0.5.4.tar.gz 397.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for patsy 0.5.4
File Interpreter ABI Platform
patsy-0.5.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 631.7 kB

Release files / patsy-0.5.4.tar.gz

Download URL patsy-0.5.4.tar.gz
Size 397.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7dabc527597308de0e8f188faa20af7e06a89bdaa306756dfc7783693ea16af4
BLAKE2b-256 checksum
How to use checksums
f2cb87826bbbe3e3448d7a6b9fb28b50edfd747b3ba18062ee056a2eedfaff42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.17

Release files / patsy-0.5.4-py2.py3-none-any.whl

Download URL patsy-0.5.4-py2.py3-none-any.whl
Size 233.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0486413077a527db51ddea8fa94a5234d0feb17a4f4dc01b59b6086c58a70f80
BLAKE2b-256 checksum
How to use checksums
29ab373449d6f741732f94e2d15d116a90f050b2857cb727b26d2f7bead50815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.17

Release history Release notifications | RSS feed

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.5.6

2 release files

0.5.5

2 release files

This release

0.5.4 This release

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release 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