Skip to content

Commit 2b55975

Browse files
committed
Update ecosystem.rst to include Pint
1 parent 14ccdd2 commit 2b55975

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

doc/source/ecosystem.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,16 @@ found in NumPy or pandas, which work well with pandas' data containers.
338338
Cyberpandas provides an extension type for storing arrays of IP Addresses. These
339339
arrays can be stored inside pandas' Series and DataFrame.
340340

341+
`pint`_
342+
~~~~~~~
343+
344+
`Pint <https://pint.readthedocs.io/en/latest/>` provides an extension type for
345+
storing numeric arrays with units. These arrays can be stored inside pandas'
346+
Series and DataFrame. Operations between Series and DataFrame columns which
347+
use pint's extension array are then units aware.
348+
349+
Note that this feature requires Pint v0.9 or higher.
350+
341351
.. _ecosystem.accessors:
342352

343353
Accessors
@@ -352,7 +362,9 @@ Library Accessor Classes
352362
============== ========== =========================
353363
`cyberpandas`_ ``ip`` ``Series``
354364
`pdvega`_ ``vgplot`` ``Series``, ``DataFrame``
365+
`pint`_ ``pint`` ``Series``, ``DataFrame``
355366
============== ========== =========================
356367

357368
.. _cyberpandas: https://cyberpandas.readthedocs.io/en/latest
358369
.. _pdvega: https://jakevdp.github.io/pdvega/
370+
.. _pint: https://github.com/hgrecco/pint

doc/source/whatsnew/v0.24.0.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,13 @@ This is the same behavior as ``Series.values`` for categorical data. See
161161

162162
.. _whatsnew_0240.enhancements.other:
163163

164+
Pint Support
165+
^^^^^^^^^^^^
166+
167+
Added `Pint<https://github.com/hgrecco/pint>`_ to the `Pandas ecosystem documentation<https://pandas.pydata.org/pandas-docs/stable/ecosystem.html#ecosystem-extensions>`_.
168+
Documentation of how to use Pint with Pandas can be found in the `Pint documentation <https://github.com/hgrecco/pint/blob/master/docs/pandas.rst>`_.
169+
Note that this feature requires Pint v0.9 or higher.
170+
164171
Other Enhancements
165172
^^^^^^^^^^^^^^^^^^
166173
- :func:`to_datetime` now supports the ``%Z`` and ``%z`` directive when passed into ``format`` (:issue:`13486`)

0 commit comments

Comments
 (0)