pylightxl | light weight , zero dependency | Build Tool library
kandi X-RAY | pylightxl Summary
kandi X-RAY | pylightxl Summary
A light weight, zero dependency, minimal functionality excel read/writer python library
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Read an Excel sheet
- Add a new name pair
- Return index
- Add a worksheet
- Write database to excel
- Write a new app xml file
- Extract text from old app
- Writes a pylight xml file
- Calculate size
- Convert an address to an index
- Convert a string to a number
- Returns an iterator over rows
- Return a list of values in row
- Write data to a csv file
- Get a sheet from the database
- Iterate through all the columns in the table
- Return a list of column values
- Read csv file
- Set empty cell
pylightxl Key Features
pylightxl Examples and Code Snippets
Community Discussions
Trending Discussions on pylightxl
QUESTION
I have a python script that restructures our organization's data into a different shape using python's pylightxl. But this script only works with excel files with less than 5000 rows of data, which is the standard format. But some files go up to 65000 rows, with unnecessary data after the 5000 index.
What i want is to delete the excess rows after 5000th index. Pylightxl cannot do this. Only pandas can, I've scoured the internet on deleting rows using pandas but the answers I've found so far havenot benefitted me.
The question is how can i delete excess rows using python pandas (the limit of which we may not know, it can go up to 200000), but the cut-off index is 5000 rows.
If you know another python way other than pandas, do answer as well.
...ANSWER
Answered 2021-Jan-13 at 18:25Instead of deleting it, you could just get the first 5000 rows and use that
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pylightxl
You can use pylightxl like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page