https://github.com/hakib/fast-excel-python
Fastest Way to Read Excel in Python
https://github.com/hakib/fast-excel-python
Last synced: 5 months ago
JSON representation
Fastest Way to Read Excel in Python
- Host: GitHub
- URL: https://github.com/hakib/fast-excel-python
- Owner: hakib
- Created: 2024-01-03T12:32:06.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T12:36:24.000Z (over 2 years ago)
- Last Synced: 2025-01-19T06:46:27.756Z (over 1 year ago)
- Size: 15.5 MB
- Stars: 29
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fastest Way to Read Excel in Python
Compare ways to read Excel files in Python.
The repo includes the source files for running the benchmarks presented in the article ["Fastest Way to Read Excel in Python"](https://hakibenita.com/fast-excel-python).
## Setup
Create a virtual environment and install dependencies:
```bash
$ python -m venv venv
$ source venv/bin/activate
(venv) $ pip install -r requirements.txt
```
## Running the Benchmark
To run the benchmark execute the following command:
```bash
(venv) $ python benchmark.py
```
The repo includes two Excel files:
- `file.xlsx`: large file used for the benchmark
- `file-sample.xlsx`: smaller file to use for development