Giter VIP home page Giter VIP logo

Comments (6)

rimadoma avatar rimadoma commented on September 25, 2024 1

@ctrueden @mdoube The reason we're using Double instead of double[] is that (correct me if I'm wrong) with the former we can have null cells in the table. They denote special empty cells, which don't have values yet. Using NaN or 0 is problematic, because sometimes you might actually get those values as results, and then you can't tell between results and empty cells.

from bonej2.

mdoube avatar mdoube commented on September 25, 2024

It is allowed to have repeated rowHeaders, now used in mdoube@6617ad0

from bonej2.

mdoube avatar mdoube commented on September 25, 2024

shared table now stores numerical values as Doubles, and empty cells as null
mdoube@1685724

from bonej2.

ctrueden avatar ctrueden commented on September 25, 2024

@mdoube Why are you using DefaultColumn<Double>? Why not DoubleColumn? It is far more space efficient, backed by a double[] instead of a List of boxed Double objects.

from bonej2.

mdoube avatar mdoube commented on September 25, 2024

@ctrueden good point, will rectify for the next release of the table

from bonej2.

mdoube avatar mdoube commented on September 25, 2024

@rimadoma raises an important point. Swapping in DoubleColumn breaks lots of tests, perhaps for this reason. Reverted to DefaultColumn.

from bonej2.

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.