Skip to main content
Latest Version License Python Versions CI LINTER Coverage

Pint-Pandas

Pandas support for pint

>>> import pandas as pd
>>> import pint_pandas
>>> df = pd.DataFrame({
...     "torque": pd.Series([1, 2, 2, 3], dtype="pint[lbf ft]"),
...     "angular_velocity": pd.Series([1, 2, 2, 3], dtype="pint[rpm]"),
... })
>>> df['power'] = df['torque'] * df['angular_velocity']
>>> df.dtypes
torque                                       pint[foot * force_pound]
angular_velocity                         pint[revolutions_per_minute]
power               pint[foot * force_pound * revolutions_per_minute]
dtype: object

Documentation

Full documentation is available at http://pint-pandas.readthedocs.io/

Quick Installation

To install Pint-Pandas, simply:

$ pip install pint-pandas

or utilizing conda, with the conda-forge channel:

$ conda install -c conda-forge pint-pandas

and then simply enjoy it!

Metadata

Release files for Pint-Pandas 0.6.1

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

Source distribution (sdist)

Source distribution for Pint-Pandas 0.6.1
File Size Uploaded Provenance Actions
pint_pandas-0.6.1.tar.gz 57.6 kB Without provenance Details for pint_pandas-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Pint-Pandas 0.6.1
File Interpreter ABI Platform Actions
Pint_Pandas-0.6.1-py3-none-any.whl Python 3 none any Details for Pint_Pandas-0.6.1-py3-none-any.whl

Total release size: 84.8 kB

Release files / pint_pandas-0.6.1.tar.gz

Download URL pint_pandas-0.6.1.tar.gz
Size 57.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0d8f7d8eebd801517ef828412a71bdb537e70a1d5f14511d5690f5619dd981ef
BLAKE2b-256 checksum
How to use checksums
b7efc9a1c51fe0c746544785d72be3696531f39c496ed2c2bbc9bb20ea4e8c94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / Pint_Pandas-0.6.1-py3-none-any.whl

Download URL Pint_Pandas-0.6.1-py3-none-any.whl
Size 27.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2237f13ce1699015df151b76508ea131e34e308ef2c4ab856e993577f8539a6
BLAKE2b-256 checksum
How to use checksums
539175e2956f3fd8690448839c2b14d1100be3a9ed7aca44b8f036ee4efb9900
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Security for Pint-Pandas 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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