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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file memoframe-0.1.4.tar.gz.
File metadata
- Download URL: memoframe-0.1.4.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8160489dcd6f3bd1c269909c830572ec424fc450005032625dc93cfcc9f848b7
|
|
| MD5 |
04e4c8852744f1a3ec2b0c31f85ec75c
|
|
| BLAKE2b-256 |
c98cf3f8f8ac192f1f090bc606fe56644f7ec87237a09ee017d14fd35b159cbe
|
File details
Details for the file memoframe-0.1.4-py3-none-any.whl.
File metadata
- Download URL: memoframe-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
902f46cb77f6c1db1ec5dfe783f28056629a46c49eb8dbfe951c7d192ea907fc
|
|
| MD5 |
46fc3597ff9be60e6cd44d200da9261c
|
|
| BLAKE2b-256 |
e606f5a7705cda5a0aae81d7308c667f449c3101c44de6b4119ade419c26fa06
|