reduce memory usage
Project description
requirements
- Pandas
- Numpy
installation
pip install fast_csv
!pip install fast_csv
for Google Colab or Kaggle notebook
usage
import fast_csv as fc
data = fc.read_csv('$PATH/$FILE.csv')
import pandas as pd
import fast_csv as fc
data = fc.reduce_df(pd.DataFrame())
vs pd.read_csv
See data.info()
- it reduces 50% of memory usage on average
- it reduces 90%+ of memory usage on a good day
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.