JuliaStats/DataFrames.jl — pull request #684 by julian-gehring (2014-09-09 02:17:41+00:00)
Title: Distinguish between column names and data through separator

When we print a ```DataFrame```, the structure looks at the moment like:

```
using DataFrames

d = data([1, 2, 3])
d[1] = NA
df = DataFrame(a = [:a, :b, :c], b = ["a", "b", "c"], N = d);

df
```

```
3x3 DataFrame
|-----|---|-----|----|
| Row | a | b | N |
| 1 | a | "a" | NA |
| 2 | b | "b" | 2 |
| 3 | c | "c" | 3 |
```

The "separator" line marks the beginning of the data table, followed by the column names and then the data. As you can see with this example, it is tricky to distinguish the names from the actual data itself.

How about using the existing separator line and move it one line down? This would help telling the variable names apart from the data values, while keeping the output the same size and using the same code:

```
3x3 DataFrame
| Row | a | b | N |
|-----|---|-----|----|
| 1 | a | "a" | NA |
| 2 | b | "b" | 2 |
| 3 | c | "c" | 3 |
```

Other tools use a similar output, for example http://orgmode.org/manual/Built_002din-table-editor.html