Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 536 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 536 Bytes

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)