Automatic size reduction for pandas dataframe
Project description
dfreduce
Description: Automatically reduce the memory size of your pandas dataframe
Installation
pip install dfreduce
Usage
from dfreduce.core import DFReduce
import pandas as pd
df = pd.read_csv('https://ed-public-download.app.cloud.gov/downloads/Most-Recent-Cohorts-Scorecard-Elements.csv')
df_reduced = DFReduce(df).reduce()
Uninstallation
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.
Source Distribution
dfreduce-1.5.tar.gz
(2.1 kB
view hashes)
Built Distribution
dfreduce-1.5-py3-none-any.whl
(3.2 kB
view hashes)