Giter VIP home page Giter VIP logo

Comments (8)

GaryScottMartin avatar GaryScottMartin commented on July 18, 2024 1

I recommend IPYDataGrid (https://github.com/bloomberg/ipydatagrid) as a working alternative to QGrid.

  • It lacks documentation, but it does work with current versions of Python, Jupyter Lab, and IPYWidgets as of January 2023.

from qgrid.

vthemelis avatar vthemelis commented on July 18, 2024 1

Nice UX, but much slower to load big dataframes :-(

Is it just the initial loading that is slow for you? I fixed a bug on this recently that made initialising much faster.

bloomberg/ipydatagrid#395

from qgrid.

ankostis avatar ankostis commented on July 18, 2024

Nice UX, but much slower to load big dataframes :-(

from qgrid.

ankostis avatar ankostis commented on July 18, 2024

There is a new QGrid "fork" (the same codebase just not git-cloned) that works with all latest jupyter machinery, minus ipywidgets-8+:

https://github.com/JohnOmernik/qgrid

It was packaged with all NPM dependencies in wheels, and works out of the box.

from qgrid.

ankostis avatar ankostis commented on July 18, 2024

I believe that QGrid loads dataframe lazily by default, it discovers the shape of rows/columns and when scrolling, it populates cells only when the mouse is at rest. Does ipydatagrid has lazy loading capabilities?

from qgrid.

vthemelis avatar vthemelis commented on July 18, 2024

I assume that by "loads dataframes lazily" you mean that it doesn't add DOM elements for the rows/columns that are out of view?

If yes, ipydatagrid doesn't actually use the DOM elements to represent its structure but uses a canvas element on which of course it only draws the rows/columns that are currently in view.

Out of interest, what were the symptoms of slowness that you observed? Might be worth an issue on the ipydatagrid repo.

from qgrid.

ankostis avatar ankostis commented on July 18, 2024

I takes ~11sec to load 200k rows dataframe, while QGrid loads instantly (and ipyaggrid takes 7sec).

from qgrid.

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.