Skip to main content

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


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)

Uploaded Source

Built Distribution

memoframe-0.1.4-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page