Skip to main content

Automatic size reduction for pandas dataframe

Project description


PyPI version

Description: Automatically reduce the memory size of your pandas dataframe


pip install dfreduce


from dfreduce.core import DFReduce
import pandas as pd

df = pd.read_csv('')
df_reduced = DFReduce(df).reduce()

# Alternatively, you can also use the inplace parameter to overwrite input dataframe
DFReduce(df, inplace=True).reduce()


pip uninstall dfreduce

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dfreduce, version 1.7
Filename, size File type Python version Upload date Hashes
Filename, size dfreduce-1.7-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size dfreduce-1.7.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page