datascience.tables.Table.stack

Table.stack(key, labels=None)[source]

Takes k original columns and returns two columns, with col. 1 of all column names and col. 2 of all associated data.