A package for making custom LaTeX, HTML, and ASCII statistical tables
Reason this release was yanked:
Bug that wasn't caught in testing
Project description
Statstables
A Python package for making nice LaTeX, HTML, and ASCII text tables.
This package is inspired by the stargazer Python package (and by extension the stargazer R package that inspired that). statstables can be used to render output from a number of natively supported models (those in the statsmodels and linearmodels packages), while giving users the ability to easily implement custom renderers for models not currently supported. It can also be used to create just about any other table you may need in a research project.
The goal of statstables is to allow you to think as much or as little as you'd like about about the tables you're creating. If you want to use all the defaults and get a presentable table, you can. If you want control over all the details, down to how individual cells are formatted, you can do that too. All of this is done without changing the underlying object containing the data, whether that's a Pandas DataFrame or fitted model.
Examples of how to use statstables can be found in the sample notebook. See main.tex and main.pdf to see what the tables look like rendered in LaTeX. you will need to include \usepackage{booktabs} in the preamble to your TeX file for it to compile.
Installation
To install the latest release, use
pip install statstables
Or you can clone this repo to use the latest changes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file statstables-0.0.14.tar.gz.
File metadata
- Download URL: statstables-0.0.14.tar.gz
- Upload date:
- Size: 60.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1400cde256bb3429f41973ee7e373c5c9478c69f84b0d9c2ef0f8c80b0011dfd
|
|
| MD5 |
b9f4f54ec8c8d7ec0073b1554e595cd8
|
|
| BLAKE2b-256 |
2a9c1a1d83d2845e467b388ffbde920d99a216dd253fa4958bb6a880b7a80d61
|
Provenance
The following attestation bundles were made for statstables-0.0.14.tar.gz:
Publisher:
publish-to-test-pypi.yml on andersonfrailey/statstables
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
statstables-0.0.14.tar.gz -
Subject digest:
1400cde256bb3429f41973ee7e373c5c9478c69f84b0d9c2ef0f8c80b0011dfd - Sigstore transparency entry: 165672724
- Sigstore integration time:
-
Permalink:
andersonfrailey/statstables@8887171848b1936f16099ae97cf85c3622a4c5de -
Branch / Tag:
refs/tags/0.0.14 - Owner: https://github.com/andersonfrailey
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-test-pypi.yml@8887171848b1936f16099ae97cf85c3622a4c5de -
Trigger Event:
release
-
Statement type:
File details
Details for the file statstables-0.0.14-py3-none-any.whl.
File metadata
- Download URL: statstables-0.0.14-py3-none-any.whl
- Upload date:
- Size: 51.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f174d497e2fb809ca0e3d4f8a60f2f487af2d0393786adfde8ce1d2cb4f1f903
|
|
| MD5 |
1f77e9d38b67daaad4b5a57375644350
|
|
| BLAKE2b-256 |
6baaee0d852974cec719b43d24e8496b4dced2d7145109cbba77eeede4fb08ab
|
Provenance
The following attestation bundles were made for statstables-0.0.14-py3-none-any.whl:
Publisher:
publish-to-test-pypi.yml on andersonfrailey/statstables
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
statstables-0.0.14-py3-none-any.whl -
Subject digest:
f174d497e2fb809ca0e3d4f8a60f2f487af2d0393786adfde8ce1d2cb4f1f903 - Sigstore transparency entry: 165672725
- Sigstore integration time:
-
Permalink:
andersonfrailey/statstables@8887171848b1936f16099ae97cf85c3622a4c5de -
Branch / Tag:
refs/tags/0.0.14 - Owner: https://github.com/andersonfrailey
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-test-pypi.yml@8887171848b1936f16099ae97cf85c3622a4c5de -
Trigger Event:
release
-
Statement type: