Basic Examples 
(5)
 

Summarize a vector of numbers:
In[1]:=
[◼]
RecordsSummary
[RandomReal[{-10,10},100]]
Out[1]=

1 column 1
Min
-9.78836
1st Qu
-5.9724
Median
-1.61349
Mean
-0.485644
3rd Qu
5.00192
Max
9.98062

———
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
D
2
G
2
I
2
O
2
S
2
T
2
(Other)
8
,
2 random word
ascribe
1
capsicum
1
cropper
1
encrypt
1
filtration
1
hear
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.86408
1st Qu
-5.16355
Median
-0.7392
Mean
-0.413041
3rd Qu
3.85282
Max
9.89438
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.78729
1st Qu
-4.8424
Mean
0.241568
Median
0.489257
3rd Qu
5.47596
Max
9.81633
,
2 column 2
Min
-9.91169
1st Qu
-4.67995
Median
0.482631
Mean
0.505138
3rd Qu
5.8764
Max
9.96417
,
3 column 3
U
12
F
11
I
11
Q
10
Z
10
B
9
(Other)
137
,
4 column 4
z
14
u
12
g
11
n
11
p
11
x
11
(Other)
130
,
5 column 5

75

67
Γ
58

Summarize a dataset:
In[3]:=
[◼]
RecordsSummary
[Dataset[arr]]
Out[3]=

1
Min
-9.78729
1st Qu
-4.8424
Mean
0.241568
Median
0.489257
3rd Qu
5.47596
Max
9.81633
,
2
Min
-9.91169
1st Qu
-4.67995
Median
0.482631
Mean
0.505138
3rd Qu
5.8764
Max
9.96417
,
3
U
12
F
11
I
11
Q
10
Z
10
B
9
(Other)
137
,
4
z
14
u
12
g
11
n
11
p
11
x
11
(Other)
130
,
5

75

67
Γ
58

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.78729
1st Qu
-4.8424
Mean
0.241568
Median
0.489257
3rd Qu
5.47596
Max
9.81633
,
2 num2
Min
-9.91169
1st Qu
-4.67995
Median
0.482631
Mean
0.505138
3rd Qu
5.8764
Max
9.96417
,
3 char1
U
12
F
11
I
11
Q
10
Z
10
B
9
(Other)
137
,
4 char2
z
14
u
12
g
11
n
11
p
11
x
11
(Other)
130
,
5 symb

75

67
Γ
58

———
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.00310013
1st Qu
0.235477
Mean
0.510554
Median
0.545911
3rd Qu
0.827204
Max
0.994332
,
2 column 2
Min
0.104132
1st Qu
0.258766
Median
0.445038
Mean
0.470975
3rd Qu
0.651763
Max
0.945934
,
3 column 3
elephant
1
expectorate
1
gusto
1
jar
1
magic
1
operating
1
(Other)
4


Scope 
(4)
 


Options 
(7)
 


Applications 
(3)
 


Possible Issues 
(7)
 


Neat Examples 
(1)
 
