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.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fast_csv-1.3.4-py3-none-any.whl.
File metadata
- Download URL: fast_csv-1.3.4-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7db165b4055cf27e50f4062abb81197608bee5dc07bc8f058157f83bfb8d8234
|
|
| MD5 |
f15bd1cf26bb6a6773b7c08087174c35
|
|
| BLAKE2b-256 |
3720791559b80b9322622fe95053a585f277951b6669214b62429183e94e0c1c
|