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.15.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for pd_helper-0.0.15-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9731bc896f1e08bc92e74b6392d30396c091bcaef179df6599995a3390e1dbf |
|
MD5 | 1e101e7036075ab65ff98f20201441f3 |
|
BLAKE2b-256 | fdc0a97eb4cb9471379ca5e794d7de2273082ca993b6995d0203cb5909bcbf91 |