Pint-Pandas-0.8.0
توضیحات
Extend Pandas Dataframe with Physical quantities module
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | Pint-Pandas-0.8.0 |
| نام | Pint-Pandas |
| نسخه کتابخانه | 0.8.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | "Hernan E. Grecco" <hernan.grecco@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/Pint-Pandas/ |
| مجوز | BSD |
.. image:: https://img.shields.io/pypi/v/pint-pandas.svg
:target: https://pypi.python.org/pypi/pint-pandas
:alt: Latest Version
.. image:: https://img.shields.io/pypi/l/pint-pandas.svg
:target: https://pypi.python.org/pypi/pint-pandas
:alt: License
.. image:: https://img.shields.io/pypi/pyversions/pint-pandas.svg
:target: https://pypi.python.org/pypi/pint-pandas
:alt: Python Versions
.. image:: https://github.com/hgrecco/pint-pandas/workflows/CI/badge.svg
:target: https://github.com/hgrecco/pint-pandas/actions?query=workflow%3ACI
:alt: CI
.. image:: https://github.com/hgrecco/pint-pandas/workflows/Lint/badge.svg
:target: https://github.com/hgrecco/pint-pandas/actions?query=workflow%3ALint
:alt: LINTER
.. image:: https://coveralls.io/repos/github/hgrecco/pint-pandas/badge.svg?branch=master
:target: https://coveralls.io/github/hgrecco/pint-pandas?branch=master
:alt: Coverage
Pint-Pandas
===========
Pandas support for `pint <https://pint.readthedocs.io/en/stable/>`_
.. code-block:: python
>>> import pandas as pd
>>> import pint_pandas
.. code-block:: python
>>> 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:
.. code-block:: bash
$ pip install pint-pandas
or utilizing conda, with the conda-forge channel:
.. code-block:: bash
$ conda install -c conda-forge pint-pandas
and then simply enjoy it!
نیازمندی
| مقدار | نام |
|---|---|
| - | pint>=0.24 |
| - | pandas>=3.0 |
| - | packaging>=26.0 |
| xtr | pytest; |
| xtr | pytest-mpl; |
| xtr | pytest-cov; |
| xtr | pytest-subtests; |
| xtr | codecov; |
| xtr | coveralls; |
| xtr | nbval; |
| xtr | pyarrow; |
| xtr | sphinx<8.2,>=6; |
| xtr | ipython<=8.12; |
| xtr | nbsphinx; |
| xtr | jupyter_client; |
| xtr | ipykernel; |
| xtr | graphviz; |
| xtr | pooch; |
| xtr | sparse; |
| xtr | Serialize; |
| xtr | pygments>=2.4; |
| xtr | sphinx-book-theme>=1.1.0; |
| xtr | sphinx_copybutton; |
| xtr | sphinx_design; |
| xtr | matplotlib; |
| xtr | uncertainties-pandas; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl Pint-Pandas-0.8.0:
pip install Pint-Pandas-0.8.0.whl
نصب پکیج tar.gz Pint-Pandas-0.8.0:
pip install Pint-Pandas-0.8.0.tar.gz