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.16.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for pd_helper-0.0.16-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca8b28f1ea67a61057c1c4277a807bc4b44e647b72d4a4ddff0883b14264d110 |
|
MD5 | 802d3068a3ea5916997f2c4f8b0b5b98 |
|
BLAKE2b-256 | dcdeed760a3658f00fc2a53a7313daec50db3027af86f1b09ab85fc9d2da8116 |