Giter Club home page Giter Club logo

Comments (6)

andreasnoack avatar andreasnoack commented on May 16, 2024

@joshday What is your current thinking here. Should this be done in a different way such that this issue can be closed?

from juliadb.jl.

joshday avatar joshday commented on May 16, 2024

Right now reduce copies a Series argument. It's on my list of things to do to change it to non-copying so things like

s = Series(Hist(50))
reduce(s, mytable, select = :x)
reduce(s, anothertable, select = :x)
plot(s)

will work as expected. It requires a few changes that I haven't had time to dig into the details, but it should be fairly straightforward to do.

from juliadb.jl.

joshday avatar joshday commented on May 16, 2024

The workaround for now is:

s = Series(Hist(20))
s = reduce(s, mytable; select=:x)
s = reduce(s, anothertable; select=:x)
plot(s)

from juliadb.jl.

shashi avatar shashi commented on May 16, 2024

Are we going to do this? Or are we just going to use reduce?

from juliadb.jl.

joshday avatar joshday commented on May 16, 2024

I think we should use reduce. Last time I looked into making reduce non-copying I found an issue in JuliaDB, but everything seemed fine in IndexedTables. Sorting that out is on my to-do list, but low priority right now.

from juliadb.jl.

shashi avatar shashi commented on May 16, 2024

Okay then. Yeah, I think we copy Stats (in JuliaDB) while merging results from different procs.

from juliadb.jl.

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.