si_unit_pandas

Custom Pandas dtypes for values with SI units.

si_unit_pandas provides support for storing temperatures inside a pandas DataFrame using pandas’ Extension Array Interface

Docs

Documentation Build Status Docs Check Status

Tests

Linux Test Status Windows Test Status macOS Test Status Coverage

Activity

GitHub last commit GitHub commits since tagged version Maintenance

QA

CodeFactor Grade Flake8 Status mypy status pre-commit.ci status

Other

License GitHub top language Requirements Status

python3 -m pip install git+https://github.com/domdfcoding/si_unit_pandas@master --user

Key Concepts

CelsiusType

This is a data type (like numpy.dtype('int64') or pandas.api.types.CategoricalDtype(). For the most part, you won’t interact with CelsiusType directly. It will be the value of the .dtype attribute on your arrays.