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!

Release files for Pint-Pandas 0.8.0

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.8.0
File Size Uploaded
pint_pandas-0.8.0.tar.gz 111.9 kB Details

Built distribution (wheel)

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

Total release size: 143.0 kB

Release files / pint_pandas-0.8.0.tar.gz

Download URL pint_pandas-0.8.0.tar.gz
Size 111.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6b8b607c0cfeb615afed68e087cfde56b1bd8399a4b088d15d2a0d7692ea9bfc
BLAKE2b-256 checksum
How to use checksums
0771e5cdbaab7381b5a92c6d612cbe2ac8ca757b4ac4799cc7a3de3d8b360b2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / pint_pandas-0.8.0-py3-none-any.whl

Download URL pint_pandas-0.8.0-py3-none-any.whl
Size 31.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40ee8a85f0923695fa7dcc6927caa3043627e1561c056e9f4499fb2e7478f779
BLAKE2b-256 checksum
How to use checksums
0aacc71db56079a5966ea365d29be0dafee6fd5ab9b8c7914b6507bc1a179134
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

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