Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Data reshaping functions
Contributed by: Anton Antonov
Fundamental data transformation functions, like, cross tabulation, long- and wide data form (pivoting), summarization, etc.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["AntonAntonov/DataReshapers"]
To load the code after installation, evaluate this code:
Needs["AntonAntonov`DataReshapers`"]
Here we get the Titanic dataset:
| In[1]:= |
| Out[2]= | ![]() |
Here is a summary of the dataset:
| In[3]:= |
| Out[3]= | ![]() |
Here is computed the contingency table for passenger survival vs class:
| In[4]:= |
| Out[4]= | ![]() |
Here the Titanic dataset is converted into long form:
| In[5]:= |
| Out[5]= | ![]() |
Here is computed the contingency tensor for passenger survival vs class vs sex:
| In[6]:= | ![]() |
| Out[7]= | ![]() |
Here is a grid table form of a full integer array with "custom" column names:
| In[8]:= |
| Out[9]= | ![]() |