Pandas fast reading table file by using pickle
Project description
pfrtf - Pandas fast reading table file by using pickle
This module will speed up the loading of data into Pandas from files that rarely change. Supports file formats (.xlsx, .xls, .xlsm, .xlsb and .csv). This module tracks file hashes and saves data in *.pkl format. If the file has already been read, re-reading occurs from the *.pkl file. This significantly speeds up the loading of data. In my case, it speeds up data reading by 100 times.
Requirements
Pandas>=1.4.4
openpyxl>=2.6.0
Install
pip install pfrtf
Tutorial:
import pfrtf
import os
path_file = os.path.join(os.getcwd(),'SampleData.xlsx')
df = pfrtf.fast_read_file(path_file)
import pfrtf
df = pfrtf.fast_read_file(r'C:\Users\user\SampleData.xlsx')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 pfrtf-0.0.1.tar.gz.
File metadata
- Download URL: pfrtf-0.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ab04891fe2c624b5881de1560caae0e0adba4410b9fbf8b1618b26f543312aa
|
|
| MD5 |
39e1ec560cef3a780cc2daff307df8f6
|
|
| BLAKE2b-256 |
4b3a302d1a0ab3a2074f6b3276260fd20a9201e86b3eca40c5dab3fee1b0968f
|
File details
Details for the file pfrtf-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pfrtf-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63bcb2a00b74877cde9054c1f7f17db52b67910c062471be10f200c84b6dca35
|
|
| MD5 |
365c039eede26abcd37df825fdd2d54d
|
|
| BLAKE2b-256 |
a833380634fc8d21d558ca158102c48e070e380521e10bf66711dbc411f524ca
|