A Pandas ArrayExtension for handling currency with int64 performance
Project description
Pandas Money
A Pandas ArrayExtension for handling currency with int64 performance
Getting started
Add to your project
poetry add pandas-money
or with pip/pipenv
pipenv install pandas-money
Example
import pandas as pd
import pandas_money as pm
from decimal import Decimal
s = pd.Series(["1.11", "2.22", "3.33"], dtype="money64")
print(s)
print(s + s)
print(s * Decimal("1.5"))
print(s / 2)
Setup
- Clone repo
poetry install
Run tests
make test
Format and lint before commit
make pre-commit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pandas_money-0.1.0.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for pandas_money-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3c38ae30242676018504b959ef6decaeb86a70308b1b37c8d00ce8573d38506 |
|
MD5 | 55d8edd8bad7eee2eb7c8a3e5164cc4e |
|
BLAKE2b-256 | e1cdd0cc071cfab44b5ab68e3b9203b0e38ea834a1b9f340e5978d5e79718300 |