Giter VIP home page Giter VIP logo

Comments (5)

mwouts avatar mwouts commented on July 23, 2024

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.

mwouts avatar mwouts commented on July 23, 2024

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.

mwouts avatar mwouts commented on July 23, 2024

For instance, the example in the docs, which was downsampled 500x7 to 250x3:
image

Is now downsampled 500x7 to 178x7:
image

from itables.

mwouts avatar mwouts commented on July 23, 2024

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.

ofir-reich avatar ofir-reich commented on July 23, 2024

Wow, thanks! Didn't even get a chance to test it!

from itables.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.