A library to reduce memory consumption of Pandas Dataframes
BSD-3-CLAUSE License
A library to reduce memory consumption of Pandas Dataframes
pip install pandiet
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)