A library to reduce memory consumption of Pandas Dataframes
Project description
pandiet
A library to reduce memory consumption of Pandas Dataframes
Installation
pip install pandiet
Usage
import pandas as pd
from pandiet import Reducer # supported from v0.1.2
# from pandiet.core import Reducer
df = pd.read_csv('https://raw.githubusercontent.com/bundgus/pydata2parquet/master/Most-Recent-Cohorts-Scorecard-Elements.csv')
df_reduced = Reducer().reduce(df, verbose=True)
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
pandiet-0.1.4.tar.gz
(5.0 kB
view hashes)