Skip to main content
to unstack

to unstack

7.2
Change data from a long table to a wide table by turning rows into columns
  • verb
  • /ʌnˈstæk/
  • Specialized
translation icon : desapilar
  • You can unstack the data frame to make each category appear as a separate column.

Examples

  • The analyst used a script to unstack the results and present them in a wide format.

  • After importing the dataset, she decided to unstack it for easier analysis.

  • You can unstack the data for better analysis.

  • The analyst unstacked the report yesterday.

  • You can unstack the data frame to make each category appear as a separate column.

  • After importing the dataset, she decided to unstack it for easier analysis.

  • The analyst used a script to unstack the results and present them in a wide format.

Synonyms

to tabulate
vsto unstack
14 5.5

Arrange information in a table with rows and columns

rearranges rows specifically into columns to change long data into wide form
to horizontalize
vsto unstack
9.9

Arrange information or parts side by side from left to right

turns stacked rows into columns to create a wide data format

Antonyms

138 1.6

To put things in a neat pile one on top of another

Surface Forms

unstack infinitive
unstacked past
unstacked past participle
unstacking present participle
unstacks third person singular

Morphology

unstack = stack (transparent) = un + stack

In data contexts 'stack' (to arrange data in a long format) is reversed by 'un-', a productive reversal meaning; the relation is domain-specific but compositionally clear.

Etymology

Unstack uses the same parts, un- 'remove' and stack 'a pile', but here the 'pile' is rows of data placed one above another. So, to unstack data is to take those rows apart and make each category appear as its own column.