Comments (4)
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 dataquarter wine beer coffee
quarter1 100 220 0
quarter2 0 0 5Also be able to unpivot the data
—
Reply to this email directly or view it on GitHub
#15.
from eel-sdk.
I think this gives some basics analytics capabilities into the lib
One column should be ok
from eel-sdk.
Simlar to https://issues.apache.org/jira/browse/SPARK-8992 ?
from eel-sdk.
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)
- Enhanced error handling for HiveWriter HOT 3
- Intermittent test failures
- Add alignToSchema option on datastream
- hive file scan strategy HOT 1
- Fix failing hive compile HOT 1
- `iterator` in DataStream never submits to the executor HOT 4
- Cassandra source & sink
- CsvSource type conversion with custom schema HOT 3
- JdbcSource with DataStream not working HOT 1
- Structs as values in maps not being properly read from Parquet files
- s3 credentials of filesystem are not used in ParquetSink
- support for mapping ArrayTypes to correct (db-vendor-specific) jdbc array types HOT 5
- Issue with Installation of Jboss application server
- Create eel package that doesn't bundle hadoop dependencies
- limit parallelism of ParquetSource to reduce memory footprint
- unresolved dependencies when running sbt package HOT 3
- scala.MatchError when writing date objects to ORC
- Support Hive MAP columns
- Error writing parquet file from JSON with object array HOT 2
- a.parquet/_SUCCESS is not a Parquet file (too small length: 0) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eel-sdk.