Skip to main content

A library to reduce memory consumption of Pandas Dataframes

Project description

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)

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

pandiet-0.1.5.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

pandiet-0.1.5-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page