How do I add tabular data to my post?


#1

Tables are a great way to post lists or arrays of data, be it numerical or categorical. The ability to read and write tabular data is particularly important in statistics and can also be quite convenient in applied mathematics.

Here’s an example of a table with both numerical and categorical data:

Name Jersey Number Position Points per game
Lebron James 23 SF 34.6
Kevin Love 0 C 14.7
George Hill 3 PG 9.8

Like all groovy elements on the forum, this can be entered using markdown. The specific markdown used for this table is:

| Name | Jersey Number | Position | Points per game |
| --- | :---: | :---: | :---: |
| Lebron James | 23 | SF | 34.6 |
| Kevin Love | 0 | C | 14.7 |
| George Hill | 3 | PG | 9.8 |

Note that the colons are used to center the data and the dashes need not force things to align in your input, though they can if you prefer.


How do I write a good post?