Git Product home page Git Product logo

Comments (4)

sksamuel avatar sksamuel commented on June 19, 2024

I've never really understood pivot tables. It seems you're replacing the
column names with values of a different column, so in this case the type of
drinks are the new column headers. Is it sufficient to just say
frame.pivot(columnName), or do you need to specify two, and if two, why.

On 27 January 2016 at 11:11, Antonios Chalkiopoulos <
[email protected]> wrote:

Imagine you have a schema : quarter - product - sales with data

("quarter1", "wine", 100)
("quarter1", "beer", 220)
("quarter1", "coffee", 550)
("quarter2", "coffee", 5)

And you want to pivot by product and sales - with newschema = "wine"
, "beer" , "coffee" defaultvalue=0 resulting into data

quarter wine beer coffee
quarter1 100 220 0
quarter2 0 0 5

Also be able to unpivot the data


Reply to this email directly or view it on GitHub
#15.

from eel-sdk.

Antwnis avatar Antwnis commented on June 19, 2024

I think this gives some basics analytics capabilities into the lib
One column should be ok

from eel-sdk.

garyfrost avatar garyfrost commented on June 19, 2024

Simlar to https://issues.apache.org/jira/browse/SPARK-8992 ?

from eel-sdk.

sksamuel avatar sksamuel commented on June 19, 2024

This might have to live in an algo module as pivot requires all (?) / some (?) data in memory at once.

from eel-sdk.

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.