Description
SQLServer and other databases provide capabilities to transpose data from columns to rows and rows to columns, the later is very useful for analytic use cases like turning rows into feature columns for an MLlib model. Here is a reference for the SQLServer implementation: http://sqlhints.com/2014/03/10/pivot-and-unpivot-in-sql-server/
Additional Referenced Request:
http://stackoverflow.com/questions/30244910/pivot-spark-dataframe
Attachments
Issue Links
- is related to
-
SPARK-11690 Add pivot to python api
- Resolved
- links to