Skip to main content

Description

Pandas Excel LimitedRows is a Python library used to optimize the Pandas's read_excel function, adding a max_row parameter if you need to read only the X first lines.

Installation

Use the package manager pip to install foobar.

pip install pandas-excel-limitedrows

Usage

import pandas_excel_limitedrows as pdlr

# Generate DataFrame with first 50 rows
df = pdlr.read_excel(file, max_rows=50)

# Instanciate ExcelFile with first 50 rows
excel_file = pdlr.RowLimitedExcelFile(file, max_rows=50) 

Notes:

  • If you use sheet_name as list to read more than one sheet, all dataframes will be generated with max_rows limit;
  • All others pandas.read_excel() and pandas.ExcelFile() parameters can be used;
  • This package uses Pandas, OpenpyXL, Pyxlsb and Xlrd dependencies and works these three engines.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Metadata

Release files for pandas-excel-limitedrows 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pandas-excel-limitedrows 2.0.1
File Size Uploaded
pandas-excel-limitedrows-2.0.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pandas-excel-limitedrows 2.0.1
File Interpreter ABI Platform
pandas_excel_limitedrows-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / pandas-excel-limitedrows-2.0.1.tar.gz

Download URL pandas-excel-limitedrows-2.0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b77e1b4077ad166dbe007b8d4f1b17a762c4755dcdd5b73facda8471023523c8
BLAKE2b-256 checksum
How to use checksums
e09262992aef871bdd44d12b74562c25fed1fd41ad031c96f602105bb8f668fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

Release files / pandas_excel_limitedrows-2.0.1-py3-none-any.whl

Download URL pandas_excel_limitedrows-2.0.1-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9104a5a7e07977b99cb6c0fed1212c006c1a1a3a9518b1d735b3030176c97ffb
BLAKE2b-256 checksum
How to use checksums
452d2c0f57ef5a799ea7ec1ddf099b1d243be4f4f7184019e0d33e0f5bfdad88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

1 release file

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page