Comments (5)
Hi @ofir-reich , are you suggesting that column downsampling should occur only when the number of columns exceeds max_columns
and not when the number of bytes is too large? I guess the change to downsample.py
should be fairly easy - would you like to give it a try on your end?
from itables.
Hi @ofir-reich , I have a tentative implementation that downsamples rows when the table has more rows than columns, and columns when the table has more columns than rows. Would you like to give it a try and report how it feels? You can install it with
pip install git+https://github.com/mwouts/itables.git@smart_downsampling
from itables.
For instance, the example in the docs, which was downsampled 500x7 to 250x3:
Is now downsampled 500x7 to 178x7:
from itables.
Hi @ofir-reich , I think this is a good addition to the library, so I have integrated the PR and the new downsampling approach will be available in itables==1.1.2
.
from itables.
Wow, thanks! Didn't even get a chance to test it!
from itables.
Related Issues (20)
- Column width miss-match in notebook vs jupyter-book HOT 2
- how to highlight table row based on value in a column HOT 3
- Elements translation HOT 2
- Add Quarto to supported editors HOT 7
- Exporting table to pdf with columnDefs styling applied HOT 5
- Does itables block rendering of ui elements? HOT 2
- Databricks support? HOT 1
- Acknowledging itables
- Control width of table, search, tabulation, etc in an HTML report. HOT 4
- Rangeindex index not displayed HOT 2
- OverflowError when showing Polars data frames containing unsigned integer types HOT 2
- Pandas background gradient (heatmap) HOT 2
- Pandas Style fail to render in Colab
- Remove the indirect dependency on jinja2
- Set Advanced Parameters as Global Options HOT 5
- A bug in displaying sorted tables HOT 3
- Immobilizing columns HOT 1
- Row selection? HOT 5
- used pandas styles with show raise TypeError HOT 2
- html in column names HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itables.