I want to turn a table like this
| | apple | banana | chia |
|----------+-------+--------+------|
| antelope | 1 | 4 | 2 |
| bear | 6 | 3 | 9 |
| cheetah | 8 | 2 | 1 |
into a table containing the same data, but with one row for each value, explicitly listing the row header, column header, and the value.
| antelope | apple | 1 |
| antelope | banana | 4 |
| antelope | chia | 2 |
| bear | apple | 6 |
| bear | banana | 3 |
| bear | chia | 9 |
| cheetah | apple | 8 |
| cheetah | banana | 2 |
| cheetah | chia | 1 |
Ideally, modifying the original table will automatically update the tuple table.