Skip to main content

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

Reason this release was yanked:

This release broke compatibility with pandas 2.1 . Please upgrade to 0.5.6 or later for greater compatibility.

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 (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.

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

Uploaded Source

Built Distribution

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

patsy-0.5.5-py2.py3-none-any.whl (234.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for patsy-0.5.5.tar.gz
Algorithm Hash digest
SHA256 7fbdebd44f1ceb1db2d45d03c19ccb0c424f71dc8e66f0f3eebf87b0ff3a071a
MD5 34093cf25d393a214da7e462f3835fdf
BLAKE2b-256 34b0f5c1aad0401dbf7349416d0e9a233341343b9c034360285f7a7a66102262

See more details on using hashes here.

File details

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

File metadata

  • Download URL: patsy-0.5.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 234.1 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-0.5.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6067516e97c1d5da5d24603853834e3555e943ffb419ea32020f7ba561fa6d0d
MD5 dc0722c77fd2c4049d39eaa6f27e4adf
BLAKE2b-256 320e0039df17094e8d9d26b69bd8e976e179b1f6cc772f9ffb597640d5016772

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