Skip to content

Commit 0f86110

Browse files
authored
DOC: Add pint pandas ecosystem docs (#35170)
1 parent f0a7d18 commit 0f86110

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

doc/source/ecosystem.rst

+10
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,14 @@ found in NumPy or pandas, which work well with pandas' data containers.
421421
Cyberpandas provides an extension type for storing arrays of IP Addresses. These
422422
arrays can be stored inside pandas' Series and DataFrame.
423423

424+
`Pint-Pandas`_
425+
~~~~~~~~~~~~~~
426+
427+
`Pint-Pandas <https://github.com/hgrecco/pint-pandas>` provides an extension type for
428+
storing numeric arrays with units. These arrays can be stored inside pandas'
429+
Series and DataFrame. Operations between Series and DataFrame columns which
430+
use pint's extension array are then units aware.
431+
424432
.. _ecosystem.accessors:
425433

426434
Accessors
@@ -436,10 +444,12 @@ Library Accessor Classes Description
436444
`cyberpandas`_ ``ip`` ``Series`` Provides common operations for working with IP addresses.
437445
`pdvega`_ ``vgplot`` ``Series``, ``DataFrame`` Provides plotting functions from the Altair_ library.
438446
`pandas_path`_ ``path`` ``Index``, ``Series`` Provides `pathlib.Path`_ functions for Series.
447+
`pint-pandas`_ ``pint`` ``Series``, ``DataFrame`` Provides units support for numeric Series and DataFrames.
439448
=============== ========== ========================= ===============================================================
440449

441450
.. _cyberpandas: https://cyberpandas.readthedocs.io/en/latest
442451
.. _pdvega: https://altair-viz.github.io/pdvega/
443452
.. _Altair: https://altair-viz.github.io/
444453
.. _pandas_path: https://github.com/drivendataorg/pandas-path/
445454
.. _pathlib.Path: https://docs.python.org/3/library/pathlib.html
455+
.. _pint-pandas: https://github.com/hgrecco/pint-pandas

web/pandas/community/ecosystem.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -353,13 +353,22 @@ Cyberpandas provides an extension type for storing arrays of IP
353353
Addresses. These arrays can be stored inside pandas' Series and
354354
DataFrame.
355355

356+
### [Pint-Pandas](https://github.com/hgrecco/pint-pandas)
357+
358+
Pint-Pandas provides an extension type for storing numeric arrays with units.
359+
These arrays can be stored inside pandas' Series and DataFrame. Operations
360+
between Series and DataFrame columns which use pint's extension array are then
361+
units aware.
362+
356363
## Accessors
357364

358365
A directory of projects providing
359366
`extension accessors <extending.register-accessors>`. This is for users to discover new accessors and for library
360367
authors to coordinate on the namespace.
361368

362-
| Library | Accessor | Classes |
363-
| ------------------------------------------------------------|----------|-----------------------|
364-
| [cyberpandas](https://cyberpandas.readthedocs.io/en/latest) | `ip` | `Series` |
365-
| [pdvega](https://altair-viz.github.io/pdvega/) | `vgplot` | `Series`, `DataFrame` |
369+
| Library | Accessor | Classes |
370+
| --------------------------------------------------------------|----------|-----------------------|
371+
| [cyberpandas](https://cyberpandas.readthedocs.io/en/latest) | `ip` | `Series` |
372+
| [pdvega](https://altair-viz.github.io/pdvega/) | `vgplot` | `Series`, `DataFrame` |
373+
| [pandas_path](https://github.com/drivendataorg/pandas-path/) | `path` | `Index`, `Series` |
374+
| [pint-pandas](https://github.com/hgrecco/pint-pandas) | `pint` | `Series`, `DataFrame` |

0 commit comments

Comments
 (0)