A helpful script to optimize a Pandas DataFrame.
Project description
pd-helper
A helpful package to streamline Pandas DataFrame optimization.
Save 50-75% on DataFrame memory usage by running the optimizer.
Auto configure dtypes for appropriate data types in each column.
Basic Usage
Given a pandas dataframe, "df":
from pd_helper.helper import optmize
# some DataFrame, df
df = optimize(df)
Install
pip install pd-helper
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
pd_helper-0.0.17.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for pd_helper-0.0.17-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55e5ef50f318edb93bd8317a77d63c1e511890c818752fc18aa9200553300211 |
|
MD5 | 2f195a90aecfd3b12d1c4677c31133cb |
|
BLAKE2b-256 | 5b5c1a6f8be1496f89dca6b43921beebab8a9325fd232535653c0d2c5c9f5bda |