Skip to content
/ pandiet Public

A library to reduce memory consumption of Pandas Dataframes

License

Notifications You must be signed in to change notification settings

myui/pandiet

Repository files navigation

pandiet

PyPI Latest Release

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)

About

A library to reduce memory consumption of Pandas Dataframes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages