Python project that creates a package that optimize pandas dataframe
Project description
1. What is it ?
memoframe is a Python package that enables to easily optimize memory consumption of pandas dataframe. If you encounter OOM (Out of Memory) errors or slow downs during data analysis or model training.
2. Where to get the package ?
Binary installers for the latest released version are available at the Python Package Index (PyPI).
# PyPI
pip install memoframe
3. Features
- Optimize integer memory usage
- Optimize float memory usage
- Optimize object memory usage
- Get an estimation of the memory usage saved
4. How to use the library
from memoframe import memoframe as mf
# dataframe is a pandas DataFram
optimized_dataframe = mf.downsize_memory(dataframe)
# Estimates memory usage gains
mf.get_opti_info(dataframe)
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
memoframe-0.1.4.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for memoframe-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 902f46cb77f6c1db1ec5dfe783f28056629a46c49eb8dbfe951c7d192ea907fc |
|
MD5 | 46fc3597ff9be60e6cd44d200da9261c |
|
BLAKE2b-256 | e606f5a7705cda5a0aae81d7308c667f449c3101c44de6b4119ade419c26fa06 |