Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

DataReshapers

Guides

  • Data reshaping functions

Tech Notes

  • Data transformation workflows
  • Long form data transformation
  • Wide form data transformation

Symbols

  • CrossTabulate
  • CrossTabulationMatrixQ
  • CrossTensorate
  • CrossTensorateSplit
  • DatasetToMatrix
  • GridTableForm
  • LongFormDataset
  • PivotLonger
  • RecordsSummary
  • RecordsToLongFormDataset
  • RecordsToWideFormDataset
  • SeparateColumn
  • ToAutomaticKeysAssociation
  • TypeOfDataToBeReshaped
  • WideFormDataset
AntonAntonov`DataReshapers`
DatasetToMatrix
​
DatasetToMatrix[ds]
Converts the dataset
ds
into a matrix.
​
Details and Options

Examples  
(2)
Basic Examples  
(1)
In[1]:=
SeedRandom[984];​​dsRand=ResourceFunction["RandomTabularDataset"][{12,3},"Generators"{RandomReal},"RowKeys"True]
Out[1]=
In[2]:=
DatasetToMatrix
[dsRand]
Out[2]=
{{0.843459,0.353748,0.0660084},{0.647644,0.129956,0.100838},{0.443745,0.0859275,0.322697},{0.616565,0.139165,0.93999},{0.468661,0.0666025,0.556916},{0.692498,0.814727,0.792719},{0.324738,0.624769,0.328258},{0.898006,0.0284479,0.959947},{0.0892085,0.271717,0.0849898},{0.591279,0.255434,0.605797},{0.843264,0.748263,0.570272},{0.795348,0.0390864,0.990228}}
Scope  
(1)

SeeAlso
"XXXX"
RelatedGuides
▪
Data reshaping functions
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com