What is the difference between “long” and “wide” format data?

What is the difference between “long” and “wide” format data?

Wide format is where we have a single row for every data point with multiple columns to hold the values of various attributes. Long format is where, for each data point we have as many rows as the number of attributes and each row contains the value of a particular attribute for a given data point.

image