Helper functions and data for Python versions of Empirical Research in Accounting: Tools and Methods
Project description
era_py
Helpers for the Python port of Empirical Research in Accounting: Tools and Methods.
Install
pip install era-py
pip install "era-py[polars]"
pip install "era-py[tables]"
era-py provides two import paths:
import era_pyis the base API built around pandas/Ibis-style workflows.import era_plis the Polars API and requirespip install "era-py[polars]".
Usage
from era_py import load_data, ols_dropcollinear
camp = load_data("camp_attendance")
Testing Optional Dependencies
For quick checks of optional extras without changing your local environment, use
uv run --with ...:
PYTHONPATH=src uv run --with polars python -c "import era_pl; print(era_pl.__version__)"
This is useful for verifying the era_pl import path and other Polars-specific
behavior without permanently installing polars into your project environment.
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 era_py-0.0.19.tar.gz.
File metadata
- Download URL: era_py-0.0.19.tar.gz
- Upload date:
- Size: 5.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
961b0b4d70baa052f6945d5eb395f1c97504202f7634a2a37dfe35063bd54965
|
|
| MD5 |
cda2f39cb59c8d28065e9f16d872373a
|
|
| BLAKE2b-256 |
90909cd3134f80ae40a87052867bf71cf9a67f3e557b7a665a19bd3ab427bb5f
|
File details
Details for the file era_py-0.0.19-py3-none-any.whl.
File metadata
- Download URL: era_py-0.0.19-py3-none-any.whl
- Upload date:
- Size: 5.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
287254d23c05ef5368b1d96711d37bbc78f9c163471a67ffcfcfdad79d3791f9
|
|
| MD5 |
4663b432f2298468a4eb2678c4aefc38
|
|
| BLAKE2b-256 |
9a64fd2b455f59c697fb257356cad68824ace375a508167e5f5e95978471d3f5
|