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`
RecordsSummary
​
RecordsSummary[data]
summarizes the argument data.
​
​
RecordsSummary[data,cols]
summarizes data using the specified column names cols.
​
Details and Options
​
Examples  
(19)
Basic Examples  
(6)
Summarize a vector of numbers:
In[1]:=
RecordsSummary
[RandomReal[{-10,10},100]]
Out[1]=

1 column 1
Min
-9.6768
1st Qu
-5.88239
Mean
0.0597438
Median
0.125568
3rd Qu
4.97811
Max
9.43695

​
Summarize a matrix of strings and specify the column names:
In[1]:=
sarr=Transpose[{RandomChoice[CharacterRange["A","Z"],20],RandomWord["CommonWords",20]}];​​
RecordsSummary
[sarr,{"random letter","random word"}]
Out[1]=

1 random letter
G
2
M
2
N
2
W
2
Z
2
C
1
(Other)
9
,
2 random word
archiepiscopal
1
balcony
1
cherry
1
clogging
1
competitiveness
1
cud
1
(Other)
14

​
Summarize a vector of numbers with missing values:
In[1]:=
RecordsSummary
[RandomSample[Join[RandomReal[{-10,10},100],Table[Missing[],4]]]]
Out[1]=

1 column 1
Min
-9.95935
1st Qu
-4.59941
Median
-1.1657
Mean
-0.366382
3rd Qu
4.30907
Max
9.5988
Missing[___]
4

​
Summarize a full 2D array with numerical and categorical columns (numbers, strings, and symbols):
In[1]:=
Block[{n=200},​​arr=Flatten/@Transpose[{RandomReal[{-10,10},{n,2}],MapAt[ToLowerCase,RandomChoice[CharacterRange["A","Z"],{n,2}],{All,2}],RandomChoice[{,,Γ},n]}]​​];
In[2]:=
RecordsSummary
[arr]
Out[2]=

1 column 1
Min
-9.98685
1st Qu
-4.8259
Mean
-0.296716
Median
-0.222476
3rd Qu
4.28937
Max
9.84918
,
2 column 2
Min
-9.98163
1st Qu
-4.61133
Median
-0.356504
Mean
0.203491
3rd Qu
5.4405
Max
9.80485
,
3 column 3
H
15
Z
13
C
12
X
12
F
9
G
9
(Other)
130
,
4 column 4
c
12
g
12
o
12
z
12
d
11
e
11
(Other)
130
,
5 column 5

78
Γ
62

60

Summarize a dataset:
In[3]:=
RecordsSummary
[Dataset[arr]]
Out[3]=

1
Min
-9.98685
1st Qu
-4.8259
Mean
-0.296716
Median
-0.222476
3rd Qu
4.28937
Max
9.84918
,
2
Min
-9.98163
1st Qu
-4.61133
Median
-0.356504
Mean
0.203491
3rd Qu
5.4405
Max
9.80485
,
3
H
15
Z
13
C
12
X
12
F
9
G
9
(Other)
130
,
4
c
12
g
12
o
12
z
12
d
11
e
11
(Other)
130
,
5

78
Γ
62

60

Summarize a dataset with column names:
In[4]:=
ds=Dataset[arr][All,AssociationThread[{"num1","num2","char1","char2","symb"},#]&];
In[5]:=
RecordsSummary
[ds]
Out[5]=

1 num1
Min
-9.98685
1st Qu
-4.8259
Mean
-0.296716
Median
-0.222476
3rd Qu
4.28937
Max
9.84918
,
2 num2
Min
-9.98163
1st Qu
-4.61133
Median
-0.356504
Mean
0.203491
3rd Qu
5.4405
Max
9.80485
,
3 char1
H
15
Z
13
C
12
X
12
F
9
G
9
(Other)
130
,
4 char2
c
12
g
12
o
12
z
12
d
11
e
11
(Other)
130
,
5 symb

78
Γ
62

60

​
Summarize the corresponding
Tabular
object:
In[1]:=
RecordsSummary
[Tabular[ds]]
Out[1]=

1 num1
Min
-9.68938
1st Qu
-3.69899
Mean
0.918302
Median
1.25773
3rd Qu
5.705
Max
9.99493
,
2 num2
Min
-9.98004
1st Qu
-3.86055
Mean
0.0963223
Median
0.319273
3rd Qu
4.47755
Max
9.98895
,
3 char1
K
18
U
12
D
10
A
9
I
9
O
9
(Other)
133
,
4 char2
a
14
g
12
x
12
k
10
r
10
b
9
(Other)
133
,
5 symb
Γ
70

67

63

​
Summarize an association of vectors:
In[1]:=
asc=AssociationThread[Range[10]Table[Append[RandomReal[1,2],RandomWord[]],10]];
In[2]:=
RecordsSummary
[asc,ThreadTrue]
Out[2]=

1 column 1
Min
1
1st Qu
3
Mean
5.5
Median
5.5
3rd Qu
8
Max
10

1 column 1
Min
0.0341647
1st Qu
0.249171
Mean
0.563734
Median
0.614596
3rd Qu
0.899579
Max
0.989414
,
2 column 2
Min
0.0654518
1st Qu
0.15938
Mean
0.464535
Median
0.496198
3rd Qu
0.700447
Max
0.872498
,
3 column 3
bewilderingly
1
crotchet
1
dewlap
1
efficiently
1
healing
1
playhouse
1
(Other)
4

Scope  
(4)

Options  
(3)

Applications  
(2)

Possible Issues  
(1)

Interactive Examples  
(1)

Neat Examples  
(2)

SeeAlso
Tally
RelatedGuides
▪
Data reshaping functions
""

© 2026 Wolfram. All rights reserved.

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